procs
procs copied to clipboard
Unicode path is not supported
exePath, _ := filepath.Abs(filepath.Join(wd, "file.exe"))
p := procs.NewProcess(exePath+ " faststart")
err := p.Run()
path:
D:/测试/main.exe
program crashed with output:
Uknown rune: 27979
Caused by go-shlex:
cmd := "D:\\codes\\测试\\test.exe asdasd"
fmt.Println(shlex.Split((cmd)))
https://github.com/fyrchik/go-shlex