902dd7f624e16a660ad582533f264b720ffcdb41 markd Thu Oct 28 12:07:31 2021 -0700 don't create a process group on pipelineOpen, stay in the parent process group diff --git src/inc/pipeline.h src/inc/pipeline.h index 27f6f37..5d112dc 100644 --- src/inc/pipeline.h +++ src/inc/pipeline.h @@ -127,31 +127,32 @@ int pipelineFd(struct pipeline *pl); /* Get the file descriptor for a pipeline */ FILE *pipelineFile(struct pipeline *pl); /* Get a FILE object wrapped around the pipeline. Do not close the FILE, is * owned by the pipeline object. A FILE is created on first call to this * function. Subsequent calls return the same FILE.*/ struct lineFile *pipelineLineFile(struct pipeline *pl); /* Get a lineFile object wrapped around the pipeline. Do not close the * lineFile, is owned by the pipeline object. A lineFile is created on first * call to this function. Subsequent calls return the same object.*/ int pipelineWait(struct pipeline *pl); /* Wait for processes in a pipeline to complete; normally aborts if any - * process exists non-zero. If pipelineNoAbort was specified, return the exit - * code of the first process exit non-zero, or zero if none failed. */ + * process exits non-zero or signals. If pipelineNoAbort was specified, + * return the exit code of the first process exit non-zero. + */ void pipelineFree(struct pipeline **plPtr); /* free a pipeline object */ int pipelineClose(struct pipeline **pPl); /* Wait for pipeline to finish and free it. Same as pipelineWait then pipelineClose. * Returns pipelineWait result (normally 0). */ #endif /* * Local Variables: * c-file-style: "jkent-c" * End: */