diff options
Diffstat (limited to 'Master/tlpkg/dev/dev.sys_redir.README')
-rw-r--r-- | Master/tlpkg/dev/dev.sys_redir.README | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/tlpkg/dev/dev.sys_redir.README b/Master/tlpkg/dev/dev.sys_redir.README new file mode 100644 index 00000000000..860d859a458 --- /dev/null +++ b/Master/tlpkg/dev/dev.sys_redir.README @@ -0,0 +1,16 @@ +Replacement for system('foo <bar >bar') without using a shell. +Would solve quoting problems once and for all. + +includes a test routine with a few tests, lacking tests for stderr redirection +right now + +needs to be tested on windows too! + +Ideas for running tests (Unix): + +# echo abc > Cin; echo 123 >> Cin +perl redir.pl # interactive, just keep typing 'y' <ENTER> +yes | perl redir.pl +yes | perl redir.pl >Pout 2>Perr +yes | perl redir.pl >Pcomb 2>&1 + |