511 |
assert (!p->pids); /* pipeline not started already */ |
assert (!p->pids); /* pipeline not started already */ |
512 |
assert (!p->statuses); |
assert (!p->statuses); |
513 |
|
|
514 |
|
if (debug) { |
515 |
|
fputs ("Starting pipeline: ", stderr); |
516 |
|
pipeline_dump (p, stderr); |
517 |
|
} |
518 |
|
|
519 |
/* Add to the table of active pipelines, so that signal handlers |
/* Add to the table of active pipelines, so that signal handlers |
520 |
* know what to do with exit statuses. Block SIGCHLD so that we can |
* know what to do with exit statuses. Block SIGCHLD so that we can |
521 |
* do this safely. |
* do this safely. |