Sign in
go
/
website
/
06562a2885c91e4dae9e04d8bb9a796d02ee4527
/
.
/
_content
/
talks
/
2014
/
playground
/
rm.go
blob: de69f3ab8c201b7f18463cd9b2696fde4026f3f4 [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package main
import (
"log"
"os/exec"
)
func main() {
err := exec.Command("mkdir", "/tmp/foo").Run()
if err != nil {
log.Fatal(err)
}
err = exec.Command("rm", "-rf", "/tmp/foo").Run()
if err != nil {
log.Fatal(err)
}
}