in reply to Re: Multiple commands with one system call
in thread Multiple commands with one system call
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 ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Multiple commands with one system call
by graff (Chancellor) on Oct 13, 2011 at 02:24 UTC | |
by renzosilv (Novice) on Oct 13, 2011 at 14:10 UTC | |
by graff (Chancellor) on Oct 13, 2011 at 19:28 UTC |