Steps to reproduce
in cmd / powershell / pwsh:
> env -S "python --version"
env: 'python --version': No such file or directory
even in git-bash:
> coreutils env -S "python --version"
env: 'python --version': No such file or directory
Expected behavior
> env -vS "python --version"
split -S: ‘python --version’
into: ‘python’
& ‘--version’
executing: python
arg[0]= ‘python’
arg[1]= ‘--version’
Actual behavior
> env -vS 'python --version'
executing: 'python --version'
arg[0]= 'python --version'
Environment
OS: Windows 11 WIN32_NT 10.0.26200.9168
PowerShell: 5.1.26100.9168
Pwsh: 7.6.5
Git Bash: 5.3.15(1)-release (x86_64-pc-cygwin)
uutils/coreutils version: 2026.6.16
env version: 0.8.0
Steps to reproduce
in
cmd/powershell/pwsh:even in
git-bash:Expected behavior
Actual behavior
Environment
OS: Windows 11 WIN32_NT 10.0.26200.9168
PowerShell: 5.1.26100.9168
Pwsh: 7.6.5
Git Bash: 5.3.15(1)-release (x86_64-pc-cygwin)
uutils/coreutils version: 2026.6.16
env version: 0.8.0