Merge remote-tracking branch 'origin/topic/seth/fix-raw-reader-subprocess-exit'

* origin/topic/seth/fix-raw-reader-subprocess-exit:
  Fix an issue with raw reader culling streams for dead processes.

Updated the 'exec' utility to no longer remove input streams for
processes that are finished as the core C++ code will take care of that
(and trying to remove a stream multiple times emits a warning message).
This commit is contained in:
Jon Siwek 2018-09-11 13:04:20 -05:00
commit 161aae828a
4 changed files with 9 additions and 2 deletions

View file

@ -131,7 +131,9 @@ event InputRaw::process_finished(name: string, source:string, exit_code:count, s
if ( name !in pending_commands )
return;
Input::remove(name);
# Upon the process exiting, the internal Raw reader code should take
# care of signalling that the stream needs to be disabled/removed.
#Input::remove(name);
results[name]$exit_code = exit_code;
results[name]$signal_exit = signal_exit;