github.com/golangci/go-tools@v0.0.0-20190318060251-af6baa5dc196/staticcheck/testdata/src/CheckExec/CheckExec.go (about) 1 package pkg 2 3 import "os/exec" 4 5 func fn() { 6 exec.Command("ls") 7 exec.Command("ls arg1") // MATCH /first argument to exec/ 8 exec.Command(`C:\Program Files\this\is\insane.exe`) 9 exec.Command("/Library/Application Support/VMware Tools/vmware-tools-daemon") 10 }