|
|
|
|
|
by theamk
961 days ago
|
|
Note the examples use "sh" python library, which by default (1) captures stdout and stderr of all processes and (2) create tty for processs stdout. Those are really bad defaults in general, which is why I recommend everyone to avoid this library. The tty on stdout means many programs run in "interactive" rather then "batch" mode: programs which use pager get output truncated, auto-colors may get enabled and emit ESC controls into output streams (or not, depending on user's distro... fun!) But it is _especially_ bad for general tools runner. Because of forced capture, you are not going to get any output or errors until process completes, and maybe not even then. Also interactive prompts won't work, errors would be reordered compared to regular outputs and so on... I can't say anything about jeeves, but at least avoid "sh". |
|