Mercurial > hg > octave-nkf
changeset 5143:d6e99e773993
[project @ 2005-02-14 15:48:47 by jwe]
author | jwe |
---|---|
date | Mon, 14 Feb 2005 15:48:47 +0000 |
parents | 0f9108f298ab |
children | 25b090e1be9f |
files | scripts/miscellaneous/popen2.m |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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));