Hey!
I looked around online for answers but I couldn't really find the correct format to open a bash script through perl and yours is giving me an error.
my $shpid = open( my $sh, '|-', '/bin/bash' ) or die "Can't open a shell process: $!\n";
It says that, the preceding line has errors. I don't know enough about bash to fix it. Any chance you could help me out ?
In reply to Re^2: Multiple commands with one system call
by renzosilv
in thread Multiple commands with one system call
by renzosilv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |