# HG changeset patch # User jwe # Date 1108396127 0 # Node ID d6e99e773993fac7db016f8328c7c02534dafc3b # Parent 0f9108f298ab6a416820f1a673e9926b7028abd4 [project @ 2005-02-14 15:48:47 by jwe] diff --git a/scripts/miscellaneous/popen2.m b/scripts/miscellaneous/popen2.m --- a/scripts/miscellaneous/popen2.m +++ b/scripts/miscellaneous/popen2.m @@ -71,6 +71,8 @@ if (pid == 0) + ## In the child. + fclose (nth (stdin_pipe, 2)); fclose (nth (stdout_pipe, 1)); @@ -87,6 +89,8 @@ elseif (pid) + ## In the parent. + fclose (nth (stdin_pipe, 1)); fclose (nth (stdout_pipe, 2));