summaryrefslogtreecommitdiff
path: root/plugins/server/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/server/plugin.go')
-rw-r--r--plugins/server/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/server/plugin.go b/plugins/server/plugin.go
index a655a8d2..3411b007 100644
--- a/plugins/server/plugin.go
+++ b/plugins/server/plugin.go
@@ -74,7 +74,7 @@ func (server *Plugin) CmdFactory(env server.Env) (func() *exec.Cmd, error) {
return nil, errors.E(op, errors.Str("first arg in command should be `php`"))
}
return func() *exec.Cmd {
- cmd := exec.Command(cmdArgs[0], cmdArgs[1:]...)
+ cmd := exec.Command(cmdArgs[0], cmdArgs[1:]...) //nolint:gosec
util.IsolateProcess(cmd)
// if user is not empty, and OS is linux or macos