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