renumber again

This commit is contained in:
Mark McGranaghan
2012-09-23 13:29:28 -07:00
parent 1ef0ead109
commit ebe6383f98
118 changed files with 2 additions and 2 deletions

18
072-exec/exec.go Normal file
View File

@@ -0,0 +1,18 @@
// ## Exec
package main
import "syscall"
import "os"
import "os/exec"
func main() {
binary, lookErr := exec.LookPath("ls")
if lookErr != nil {
panic(lookErr)
}
execErr := syscall.Exec(binary, []string{"-a", "-l", "-h"}, os.Environ())
if execErr != nil {
panic(execErr)
}
}