From 0fd0d0bc1b53ba2c9796106efdea13157c3f593e Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Sun, 12 Jun 2011 11:25:52 +0000 Subject: add dev.sys_redir.pl (see README for details) git-svn-id: svn://tug.org/texlive/trunk@22936 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/dev/dev.sys_redir.README | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Master/tlpkg/dev/dev.sys_redir.README (limited to 'Master/tlpkg/dev/dev.sys_redir.README') 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') 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' +yes | perl redir.pl +yes | perl redir.pl >Pout 2>Perr +yes | perl redir.pl >Pcomb 2>&1 + -- cgit v1.2.3