8000 rework process handling by dothebart · Pull Request #3322 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

rework process handling #3322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Sep 28, 2017
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
don't ignore signals on spawned processes
  • Loading branch information
dothebart committed Sep 25, 2017
commit af69301ec2600de086a2eb1a7908cd6484cac88f
6 changes: 0 additions & 6 deletions lib/Basics/process-utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,6 @@ static void StartExternalProcess(ExternalProcess* external, bool usePipes) {
fcntl(2, F_SETFD, 0);
}

// ignore signals in worker process
signal(SIGINT, SIG_IGN);
signal(SIGTERM, SIG_IGN);
signal(SIGHUP, SIG_IGN);
signal(SIGUSR1, SIG_IGN);

// execute worker
execvp(external->_executable, external->_arguments);

Expand Down
0