Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
Runs a command to build a program. First word in buildCommand must be a executable command, the others are arguments. Writes output and errors to the console. Waits for command to finish before exiting.
func Run ¶
Runs a long process that needs to be manually killed. Killing a process is accomplished by sending a true boolean value to stopChannel. Logs all errors and output to the console.
Internally, it sprouts three new goroutines. Two to read from os.Stdout and os.Stderr respectively, and a last one to kill the process when stopChannel recieves true.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.