- /*\r
- * Restore SIGINT and SIGQUIT to default actions\r
- *\r
- * Glyn Clemments writes:\r
- * For your purposes, runProcess + waitForProcess is probably\r
- * the way to go. Except that runProcess appears to be missing\r
- * the usual signal handling. system() ignores SIGINT and\r
- * SIGQUIT in the parent, and resets them to their defaults in\r
- * the child; it also blocks SIGCHLD in the parent. runProcess\r
- * may need to do something similar; it should probably at\r
- * least reset SIGINT and SIGQUIT in the child, in case they\r
- * are ignored in the parent. The parent can set up its own\r
- * signal handling, but the only place it can control the\r
- * child's signal handling is between the fork() and the\r
- * exec(), so if runProcess doesn't do it, it won't get done.\r