- Go Standard Library Cookbook
- Radomír Sohlich
- 62字
- 2021-06-24 18:56:26
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.