Hello , i want to execute some batch/perl file from my perl program and continue to do some changes and then re-execute some files.
my code is like
st.pl
-------------
exec ("wperl hang.pl >a.txt");
exec ("wperl hang.pl >b.txt");
exec ("wperl hang.pl >c.txt");
hang.pl
-----------------
#!/usr/bin/perl
$a=1;
while($a)
{
$a=1;
}
Here i want to execute one and then execute another but don't wait for
previous command i.e.something in background but im unable to do it.
any idea ???
Thanks
a b
