Closed naddika closed 3 years ago
Honcho runs in the foreground. The processes stop when you stop or kill honcho (with Ctrl-C, for example). Conversely, honcho stops when the processes stop.
My goal is to run and stop the processes in a Procfile all at once. Therefore, to stop the process will I have to kill the Honcho process only?
Try it! If you Ctrl-C honcho, it will kill all the processes running under it.
Yeah, a bash script, apparently, has human hands and eyes, and can understand my commands given him by voice, to press Ctrl-C.
Regarding killing Honcho process - that would be a lot of hassle because I'd have to find a Honcho process first, and reliably so, distinguishing it among all other processes, via a bash script. How? Why isn't there functionality for killing a Honcho process implemented in the library itself?
And how about equering its status -- running, not running.... ?
There're "run" and "start". Why isn't there "stop"? How should one stop the processes then?