# README
xproc
command
辅助函数
process
启动、关闭、kill
、Signal
管理process
集管理
例子
tmpFile := filepath.Join(os.TempDir(), "test.sh")
err := xos.FilePutContents(tmpFile, []byte("echo \"GOT ME $1\""))
xpanic.WhenError(err)
var stdOut string
stdOut, err = ShellRun(tmpFile, WithArgs("1.2.0"))
xpanic.WhenError(err)
fmt.Println(stdOut)
Output:
GOT ME 1.2.0