summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-11-06 20:57:52 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-11-06 20:57:52 -0800
commit22265dd7d089f9137c75042c9ede58c5e0a6d3e1 (patch)
treeb80f73f7b0d8fc5b3eef87d476c24a94870536e5 /tests
parent04ac2824f9fa74583548b0cd58097d550a09b22a (diff)
downloadtxr-22265dd7d089f9137c75042c9ede58c5e0a6d3e1.tar.gz
txr-22265dd7d089f9137c75042c9ede58c5e0a6d3e1.tar.bz2
txr-22265dd7d089f9137c75042c9ede58c5e0a6d3e1.zip
open-process: I/O redirection feature.
In the mode-string of open-process, I/O redirections can now be specified that are carried out in the child process. * stream.c (do_parse_mode): Parse the redirection syntax indicated by >, which has a short and long form. The redirections are entered into a small table in the mode structure. (open_process): In the child process, perform the redirection specified in the mode structure's redirection table. * stream.h (STDIO_MODE_NREDIRS): New preprprocessor symbol. (struct stdio_mode): New array member, redir. * txr.1: Documented.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions