summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorf.bonnet <f.bonnet>2017-08-23 18:31:56 (GMT)
committerf.bonnet <f.bonnet>2017-08-23 18:31:56 (GMT)
commit8dd2373a08bd2ec8d5796041d0f8945d24a811c1 (patch)
treea8eaf546b2dce578c36bb2365cc895a9dcf97e04 /unix
parent03470df2ff2414f1912a85772cd6f558196ca8bc (diff)
downloadtcl-8dd2373a08bd2ec8d5796041d0f8945d24a811c1.zip
tcl-8dd2373a08bd2ec8d5796041d0f8945d24a811c1.tar.gz
tcl-8dd2373a08bd2ec8d5796041d0f8945d24a811c1.tar.bz2
Refactoring and preliminary implementation of tcl::process (list|status)
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixPipe.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c
index 3d8e680..be7b4eb 100644
--- a/unix/tclUnixPipe.c
+++ b/unix/tclUnixPipe.c
@@ -986,9 +986,7 @@ PipeClose2Proc(
*/
Tcl_DetachPids(pipePtr->numPids, pipePtr->pidPtr);
- if (TclProcessGetAutopurge()) {
- Tcl_ReapDetachedProcs();
- }
+ Tcl_ReapDetachedProcs();
if (pipePtr->errorFile) {
TclpCloseFile(pipePtr->errorFile);