Buy GNU books!
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
The following procedures provide an interface to the
pclose system routines. The code is in a separate "popen"
(use-modules (ice-9 popen))
(read-line (open-input-pipe "date")) => "Mon Mar 11 20:10:44 GMT 2002" (waitpid WAIT_ANY) => (24160 . 0)
open-pipe, then waits for the process to terminate and returns its status value, See section waitpid, for information on how to interpret this value.
close-port (see section close-port) can also be used to
close a pipe, but doesn't return the status.
|webmaster||delorie software privacy|
|Copyright © 2003 by The Free Software Foundation||Updated Jun 2003|