You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that this is not as straightforward as it might sound! Some notes:
It is not clear if this issue still persists or if it only happened in previous versions of pash.
The biggest issue with hanging processes is not the daemon and the main pash process, but rather the parallel scripts that contain eagers etc. Therefore, our solution should modify (or use) this https://github.com/binpash/pash/blob/main/runtime/wait_for_output_and_sigpipe_rest.sh or be a trap handler in the output parallel script. For both of those, we should make sure to check for the performance overhead.
Our solution should kill all processes of the dataflow graph and wait for them.
Our solution should only kill processes that are descendants of the current shell (and no more).
Also, this change should not go to main but to future since it is an experimental change.
Upon abnormal exit/kill,
PaSh
should kill the entire process tree under it (without leaving anyeager
or other commands running).The text was updated successfully, but these errors were encountered: