fix: ensure calling env command with options only would not throw
#10216
Loading
env command with options only would not throw
#10216