Commit Graph

10 Commits

Author SHA1 Message Date
Brian Picciano
b4c6787a98 Don't explicitly send interrupt signal to child processes
Apparently the way that process groups work is that child processes will
automatically have all signals propagated to them, so there's no need to
do it explicitly, pmux only needs to wait for them to exit.
2022-02-27 11:45:33 -07:00
Brian Picciano
05c959eba7 Refactor logging to separate stdout/stdout/system lines
The new logging differentiates between stdout, stderr, and system log
lines much better. The flushing logic has also been simplified, so lines
should appear on the terminal when expected (though possibly with lower
performance, will need to keep an eye on this).
2022-02-27 11:12:26 -07:00
Brian Picciano
ea5e7c9e1c make time formatting be optional 2022-02-27 10:37:22 -07:00
Brian Picciano
2c5c669c72 add NoRestartOn config parameter 2022-02-24 20:48:37 -07:00
Brian Picciano
20cb7b9255 inherit environment from the parent process 2022-01-22 20:57:59 -07:00
Brian Picciano
530c868949 expose Dir from pmuxprox.Config 2022-01-22 20:39:34 -07:00
Brian Picciano
3057f470d4 Expose RunProcessOnce and PlainLogger 2022-01-22 20:36:07 -07:00
Brian Picciano
fd793d4f81 break pmuxproc out, make logger better, and properly set import path in go.mod 2022-01-22 20:03:19 -07:00
Brian Picciano
56635e63aa typo in README 2021-09-21 19:10:22 -06:00
Brian Picciano
fe90e93fad initial commit 2021-09-21 16:36:50 -06:00