Sign in
go
/
website
/
f2bd60d5356eaae86b59abb498b73ff73a34df94
/
.
/
_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)
}
}