mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-12 12:21:15 -08:00
doc: run-program: correct mistake, add pathname
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
This commit is contained in:
parent
90fb4793c2
commit
607bf35f31
1 changed files with 10 additions and 7 deletions
|
|
@ -463,13 +463,16 @@ ls [--help | -?] filename*
|
|||
program. A value of <symbol>:STREAM</symbol> means a lisp stream will be
|
||||
created to communicate with the child process. A value of
|
||||
<symbol>NIL</symbol> means that the data from this pipe will be
|
||||
discarded. The vaule of <symbol>T</symbol> means that the child process will
|
||||
use the parent's standard input, output or error channels. For instance, if
|
||||
&ECL; writes to the console and you pass a value of
|
||||
<replaceable>output</replaceable> equal to <symbol>:STREAM</symbol>, the
|
||||
child process will also output to the console. Finally, the error messages
|
||||
of the child process are redirected to the same pipe as its standard
|
||||
output when <replaceable>error</replaceable> takes the value
|
||||
discarded. The value of <symbol>T</symbol> means that the child process will
|
||||
use the parent's standard input, output or error channels. If value is
|
||||
pathname, then corresponding file will be used (strings are coerced to
|
||||
pathnames).</para>
|
||||
|
||||
<para>For instance, if &ECL; writes to the console and you pass a value of
|
||||
<replaceable>output</replaceable> equal to <symbol>T</symbol>, the child
|
||||
process will also output to the console. Finally, the error messages of the
|
||||
child process are redirected to the same pipe as its standard output when
|
||||
<replaceable>error</replaceable> takes the value
|
||||
<symbol>:OUTPUT</symbol>.</para>
|
||||
|
||||
<para>If the child process was succesfully launched, this function outputs a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue