in reply to Re: Running Multiple Commands using System
in thread Running Multiple Commands using System

#!/usr/local/bin/perl use strict; use warnings; system("sdb -d root on 'sdb -d shell; cd /opt; ls';bash ");
gives error of "root does not take more than one arguement" while the following system call runs fine.
system("sdb -d shell 'cd /opt; ls';bash ");
and running independently
system("sdb -d root on");
also works fine.