4 ms·
Here is one of your empty argument being thrown away instead of respected bugs: * https://github.com/spf13/cobra/blob/6dec1ae26659a130bdb4c985768d1853b0e1bc06/
by JdeBP 1y ago
Here is one of your empty argument being thrown away instead of respected bugs:
* https://github.com/spf13/cobra/blob/6dec1ae26659a130bdb4c985768d1853b0e1bc06/command.go#L704 https://github.com/spf13/cobra/blob/6dec1ae26659a130bdb4c985...
I could explain the single-quote argument quoting error if you were running it on Windows. The Go runtime library does not provide single-quoting on Windows. At all. (This is historically the behaviour of C runtime libraries on Windows, too.) It should be using a proper argument vector and not doing its own command-line parsing on other platforms, though.
* https://cs.opensource.google/go/go/+/master:src/os/exec_windows.go;l=114 https://cs.opensource.google/go/go/+/master:src/os/exec_wind...
* https://cs.opensource.google/go/go/+/master:src/os/proc.go;l=18 https://cs.opensource.google/go/go/+/master:src/os/proc.go;l...