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