diff --git a/examples/execing-processes/execing-processes.go b/examples/execing-processes/execing-processes.go index 9920213..b8305ee 100644 --- a/examples/execing-processes/execing-processes.go +++ b/examples/execing-processes/execing-processes.go @@ -27,9 +27,8 @@ func main() { // `Exec` requires arguments in slice form (as // apposed to one big string). We'll give `ls` a few - // common arguments. It has to include the program - // name as the first argument. Details see - // `man 2 execve` + // common arguments. Note that the first argument should + // be the program name. args := []string{"ls", "-a", "-l", "-h"} // `Exec` also needs a set of [environment variables](environment-variables)