Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edit: pipe commands assume that they can pass the -c flag to the shell. #129

Open
eaburns opened this issue Jan 15, 2016 · 0 comments
Open
Labels
Milestone

Comments

@eaburns
Copy link
Owner

eaburns commented Jan 15, 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".

@eaburns 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
@eaburns eaburns added the bug label Apr 6, 2016
@eaburns eaburns modified the milestone: v0.1 Apr 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants