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