procs
procs copied to clipboard
Go exec helpers for better using processes.
```go 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 ```
fix: imports github.com/ionrock/procs tested by github.com/ionrock/procs.test imports github.com/apoydence/onpar: github.com/apoydence/[email protected]: parsing go.mod: module declares its path as: github.com/poy/onpar but was required as: github.com/apoydence/onpar
Given the file `main.go` with contents: ```go package main import "os" func main() { os.Exit(1) } ``` and the file `main_test.go` with contents: ```go package main_test import ( "testing" "github.com/ionrock/procs"...