Fix misspelled "absolute" and "successful"
This commit is contained in:
parent
b8840aa19d
commit
67088c8a19
@ -17,7 +17,7 @@ import "os/exec"
|
|||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
// For our example we'll exec `ls`. Go requires an
|
// For our example we'll exec `ls`. Go requires an
|
||||||
// abolute path to the binary we want to execute, so
|
// absolute path to the binary we want to execute, so
|
||||||
// we'll use `exec.LookPath` to find it (probably
|
// we'll use `exec.LookPath` to find it (probably
|
||||||
// `/bin/ls`).
|
// `/bin/ls`).
|
||||||
binary, lookErr := exec.LookPath("ls")
|
binary, lookErr := exec.LookPath("ls")
|
||||||
@ -36,7 +36,7 @@ func main() {
|
|||||||
env := os.Environ()
|
env := os.Environ()
|
||||||
|
|
||||||
// Here's the actual `os.Exec` call. If this call is
|
// Here's the actual `os.Exec` call. If this call is
|
||||||
// succesful, the execution of our process will end
|
// successful, the execution of our process will end
|
||||||
// here and be replaced by the `/bin/ls -a -l -h`
|
// here and be replaced by the `/bin/ls -a -l -h`
|
||||||
// process. If there is an error we'll get a return
|
// process. If there is an error we'll get a return
|
||||||
// value.
|
// value.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user