normalize to command-line

This commit is contained in:
Mark McGranaghan 2012-10-22 08:30:05 -04:00
parent 61cba2508e
commit b169173b19

View File

@ -58,7 +58,7 @@ func main() {
// Note that when spawning commands we need to
// provide an explicitly delineated command and
// 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`
// option:
lsCmd := exec.Command("bash", "-c", "ls -a -l -h")