We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a26b4dd commit ee234c8Copy full SHA for ee234c8
execr/execr.go
@@ -11,7 +11,7 @@ import (
11
"github.com/roemer/gotaskr/log"
12
)
13
14
-var argumentsRegex = regexp.MustCompile(`(?m)[\w]+|"[\w\\"\s]*"`)
+var argumentsRegex = regexp.MustCompile(`[^\s"]+|"((\\"|[^"])*)"`)
15
16
func NewCmd(executable string, arguments ...string) *exec.Cmd {
17
return exec.Command(executable, arguments...)
0 commit comments