Hi i am executing two commands from my perl script.
1. zcat ... | gzip huge file. &
it takes lots of time
2. java huge file &
after above 1. is done.
how can i do this?
here is what I am doing but does not work:
system("zcat....> file1 &"); my $pid = fork(); waitpid($pid,0); system("java file1 &");
In reply to how do i execute dependant system commands in perl (i m trying waitpid but does not work) - please help by sdj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |