Hey, I found that if you have more than one space between the arguments and / or options of a plugin, the extra space will be treated as a parameter by exec.CommandContext, at least for one of my PHP plugins.
I replaced
splitted := strings.Split(received.commandLine, " ")
per
splitted := strings.Fields(received.commandLine)
and it solved my problem, as Fields will split one or more spaces.
Hey, I found that if you have more than one space between the arguments and / or options of a plugin, the extra space will be treated as a parameter by exec.CommandContext, at least for one of my PHP plugins.
I replaced splitted := strings.Split(received.commandLine, " ") per splitted := strings.Fields(received.commandLine)
and it solved my problem, as Fields will split one or more spaces.
Should a pull this request ?
Tks.