You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows, the shell is PowerShell.exe, and its flag is -Command. We can probably create shell_$(GOOS).go files to define DefaultShell and CommandFlag. On Unix DefaultShell="/bin/sh" and CommandFlag="-c". On Windows DefaultShell="PowerShell.exe" and CommandFlag="-Command".
The text was updated successfully, but these errors were encountered:
eaburns
changed the title
Pipe commands assume that they can pass the -c flag to the shell.
edit: pipe commands assume that they can pass the -c flag to the shell.
Apr 6, 2016
On Windows, the shell is PowerShell.exe, and its flag is -Command. We can probably create shell_$(GOOS).go files to define DefaultShell and CommandFlag. On Unix DefaultShell="/bin/sh" and CommandFlag="-c". On Windows DefaultShell="PowerShell.exe" and CommandFlag="-Command".
The text was updated successfully, but these errors were encountered: