in reply to Re^4: Running Multiple Commands using System
in thread Running Multiple Commands using System
Maybe I did not make myself clear enough.
What I wanted to clarify is, whether the string you pass to system would work on its own when typed into a terminal.
So, again my question, maybe more explicit:
After opening a plain terminal, with your normal shell running, does pasting the following command work?
sdb -d root on 'sdb -d shell; ls';
If that doesn't work without Perl, it won't work with Perl added either.
If you want to run multiple commands within one shell session, I recommend creating a shell script and launching that script via system.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Running Multiple Commands using System
by dkhoriya (Initiate) on Jul 02, 2014 at 09:21 UTC | |
by Corion (Patriarch) on Jul 02, 2014 at 10:30 UTC |