normalize to command-line
This commit is contained in:
parent
61cba2508e
commit
b169173b19
@ -58,7 +58,7 @@ func main() {
|
|||||||
// Note that when spawning commands we need to
|
// Note that when spawning commands we need to
|
||||||
// provide an explicitly delineated command and
|
// provide an explicitly delineated command and
|
||||||
// argument array, vs. being able to just pass in one
|
// argument array, vs. being able to just pass in one
|
||||||
// command line string. If you want to spawn a full
|
// command-line string. If you want to spawn a full
|
||||||
// command with a string, you can use `bash`'s `-c`
|
// command with a string, you can use `bash`'s `-c`
|
||||||
// option:
|
// option:
|
||||||
lsCmd := exec.Command("bash", "-c", "ls -a -l -h")
|
lsCmd := exec.Command("bash", "-c", "ls -a -l -h")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user