github.com/serversong/goreporter@v0.0.0-20200325104552-3cfaf44fd178/linters/staticcheck/testdata/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 }