this also works

This commit is contained in:
Mark McGranaghan 2012-09-23 19:44:45 -07:00
parent 6adb905ae1
commit dda9a45cfc

View File

@ -46,8 +46,10 @@ func main() {
// binaries, remember their paths.
markdownPath, err := exec.LookPath("markdown");
check(err)
// pygmentizePath, err := exec.LookPath("pygmentize")
// check(err)
pygmentizePath, err := exec.LookPath("pygmentize")
check(err)
fmt.Print(pipedCmd(markdownPath, []string{}, "## wat"))
fmt.Print(pipedCmd(pygmentizePath, []string{"-l", "go", "-f", "html"}, "package main"))
}