
上QQ阅读APP看书,第一时间看更新
Calling an external process
The Go binary could also be used as a tool for various utilities and with use of go run as a replacement for the bash script. For these purposes, it is usual that the command-line utilities are called.
In this recipe, the basics of how to execute and handle the child process will be provided.