update comment
This commit is contained in:
parent
f097c12b25
commit
0dd598dde2
@ -27,9 +27,8 @@ func main() {
|
|||||||
|
|
||||||
// `Exec` requires arguments in slice form (as
|
// `Exec` requires arguments in slice form (as
|
||||||
// apposed to one big string). We'll give `ls` a few
|
// apposed to one big string). We'll give `ls` a few
|
||||||
// common arguments. It has to include the program
|
// common arguments. Note that the first argument should
|
||||||
// name as the first argument. Details see
|
// be the program name.
|
||||||
// `man 2 execve`
|
|
||||||
args := []string{"ls", "-a", "-l", "-h"}
|
args := []string{"ls", "-a", "-l", "-h"}
|
||||||
|
|
||||||
// `Exec` also needs a set of [environment variables](environment-variables)
|
// `Exec` also needs a set of [environment variables](environment-variables)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user