more useful options | |
PerlMonks |
Re^7: Running Multiple Commands using Systemby Corion (Patriarch) |
on Jul 02, 2014 at 10:30 UTC ( [id://1091956]=note: print w/replies, xml ) | Need Help?? |
So, your problem is with the sdb program. It says that "sdb root" does not take more than one argument. But you are giving it two arguments, on and 'sdb -d shell; cd /opt; ls'. I'm pretty confident that your command line as you show it to us does not work outside of Perl either. This is not a Perl problem but a problem with the sdb program. I suggest you consult the documentation of the sdb program and/or ask the vendor of the program on how to proceed.
In Section
Seekers of Perl Wisdom
|
|