Debian Codegraph @

staticcheck/sa1005/testdata/go1.0/CheckExec/CheckExec.go

raw
1 package pkg
2
3 import "os/exec"
4
5 func fn() {
6 exec.Command("ls")
7 exec.Command("ls arg1") //@ diag(`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 }