1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-06 23:50:18 +02:00
Commit graph

8 commits

Author SHA1 Message Date
Marius Vollmer
9a42b923cf Added copyright notice. 2001-02-21 20:11:18 +00:00
Gary Houston
a9c632a2f3 2000-11-07 Gary Houston <ghouston@arglist.com>
* popen.scm (open-output-pipe): added docstrings for open-input-pipe
	and open-output-pipe.
2000-11-09 22:46:07 +00:00
Gary Houston
8ccc61e837 2000-11-06 Gary Houston <ghouston@arglist.com>
* popen.scm (open-process): bug fix: don't use
	close-all-ports-except to close ports in the child process, since
	it causes port buffers to be flushed.  they may be flushed again
	in the parent, causing duplicate output.  use a more elaborate
	method for setting up the child descriptors (thanks to David
	Pirotte for the bug report).
	standard file descriptors 0, 1, 2 in the child process
	are now set up from current-input-port etc., where possible.
2000-11-07 21:36:42 +00:00
Dirk Herrmann
ac37358068 * gc-thunk is deprecated. Use after-gc-hook instead. 2000-06-27 13:52:49 +00:00
Gary Houston
70cb4fa6ac * popen.scm (open-process): after forking, close all ports except
the end of the pipe to the parent.  otherwise move->fdes and
	the exec'd program and the exit handlers can interfere with file
	descriptors still in use in parent ports.
2000-04-10 21:55:53 +00:00
Gary Houston
2969637c9e * popen.scm (close-process-quietly): new procedure. use it from
reap-pipes to avoid errors or hanging during background cleanup.
2000-04-09 21:10:06 +00:00
Greg J. Badros
ea4bcd7b54 * popen.scm, slib.scm: Added some docstrings for procedures that
were primitives that I encountered in posix.texi.
1999-12-13 02:54:56 +00:00
Jim Blandy
51786bda60 * Makefile.am (ice9_sources): Add popen.scm to list.
* Makefile.in: Regenerated.
* popen.scm: applied fixes from Greg Harvey.  use a guardian
and a gc-thunk so that cleanup is done if a pipe is garbage
collected or closed with close-port.  use a weak hash-table instead of
an alist.
* boot-9.scm (reopen-file): deleted.
* popen.scm (open-output-pipe, open-input-pipe): moved from
boot-9.scm.
* popen.scm: new file.
1999-06-09 12:30:45 +00:00