add 'shellopts' option to set shell arguments

Related #102
This commit is contained in:
Gokcehan committed 2018-06-26 21:14:55 +03:00
1 parent 4c54acebeb
commit e99478e8a1
7 files changed
+12

No files matched your search

+2
View File
@@ -65,6 +65,8 @@ func shellCommand(s string, args []string) *exec.Cmd {
args = append([]string{"-c", s, "--"}, args...)
args = append(gOpts.shellopts, args...)
return exec.Command(gOpts.shell, args...)
}