Default severity: warning
exec.Command expects one executable name or path, not a shell command that
needs argument splitting.
Bad
exec.Command("ls / /tmp")Good
exec.Command("ls", "/", "/tmp")Detect shell commands used as exec.Command program names.
Default severity: warning
exec.Command expects one executable name or path, not a shell command that
needs argument splitting.
exec.Command("ls / /tmp")exec.Command("ls", "/", "/tmp")