Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Framework/Core/src/runDataProcessing.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1585,8 +1585,9 @@ int runStateMachine(DataProcessorSpecs const& workflow,
driverInfo.states.push_back(DriverState::QUIT_REQUESTED);
}
// If one of the children dies and sigint was not requested
// we should decide what to do.
if (sigchld_requested == true && driverInfo.sigchldRequested == false) {
// we should decide what to do. A SIGCHLD before any device is spawned
// (e.g. from the shell wordexp uses on macOS) is kept for later.
if (sigchld_requested == true && driverInfo.sigchldRequested == false && !infos.empty()) {
driverInfo.sigchldRequested = true;
driverInfo.states.push_back(DriverState::HANDLE_CHILDREN);
}
Expand Down