- or download this
&{
bg exe sub { "2>#" }, qw( ls /tmp does_not_exist ),
...
exe qw(cat -n),
exe sub { print "six> $_" while <STDIN>; print "5th cmd: @_\n"
+},
};
- or download this
{ ls /tmp does_not_exist 2> /dev/null | tac | [perlsub] | { sort | cat
+ -n | [perlsub] } & } &
- or download this
exe &PREEXEC, LIST, &READER
exe &PREEXEC, &READER
exe &READER
- or download this
"2>null" # silence stderr
">#" # silence stdout
"2>&1" # redirect stderr to stdout
"1>&2" # redirect stdout to stderr
"1><2" # swap stdout and stderr
- or download this
bg &BACKGROUND
- or download this
package IPC::Exe;
...
}
'IPC::Exe';