*fix* execute an external command by calling fork/execl and do not ignore SIGCHLD (maybe fixes issue 263)
git-svn-id: http://tint2.googlecode.com/svn/trunk@480 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -95,7 +95,7 @@ void init (int argc, char *argv[])
|
||||
sigaction(SIGINT, &sa, 0);
|
||||
sigaction(SIGTERM, &sa, 0);
|
||||
sigaction(SIGHUP, &sa, 0);
|
||||
signal(SIGCHLD, SIG_IGN); // don't have to wait() after fork()
|
||||
// signal(SIGCHLD, SIG_IGN); // don't have to wait() after fork()
|
||||
|
||||
// BSD is too stupid to support pselect(), therefore we have to use select and hope that we do not
|
||||
// end up in a race condition there
|
||||
|
||||
Reference in New Issue
Block a user