summaryrefslogtreecommitdiff
path: root/Master/tlpkg/dev/dev.sys_redir.README
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-06-12 11:25:52 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-06-12 11:25:52 +0000
commit0fd0d0bc1b53ba2c9796106efdea13157c3f593e (patch)
tree98d5ed25f65a7860be8bb4b6966c24f4457139fa /Master/tlpkg/dev/dev.sys_redir.README
parent4798bcd00610de40267c01eece446eb4449bc68d (diff)
add dev.sys_redir.pl (see README for details)
git-svn-id: svn://tug.org/texlive/trunk@22936 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/dev/dev.sys_redir.README')
-rw-r--r--Master/tlpkg/dev/dev.sys_redir.README16
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
+