Hi everyone,
I have a problem. I have written a perl program which tries to run three processes in the system. I want the three processes to run in separate shells so that one can use the output of the other. But when I run my program, the first process runs and goes on running and the other two processes never run. My perl script is:
#!/usr/bin/perl -w
system("java net.tinyos.sf.SerialForwarder -comm network\@127.0.0.1:23");
system("java net.tinyos.oscope.oscilloscope");
system("java avrora.Main Blink.od");
When these processes are run differently in different shells one after the other, they work perfectly fine. But when I try to run them froma single perl program, the first one goes on running and the other two never get chance to run.
Can anyone tell me how I can run these three processes on three different shells from withing a single perl script?
Thank you so much,
Subash
I have a problem. I have written a perl program which tries to run three processes in the system. I want the three processes to run in separate shells so that one can use the output of the other. But when I run my program, the first process runs and goes on running and the other two processes never run. My perl script is:
#!/usr/bin/perl -w
system("java net.tinyos.sf.SerialForwarder -comm network\@127.0.0.1:23");
system("java net.tinyos.oscope.oscilloscope");
system("java avrora.Main Blink.od");
When these processes are run differently in different shells one after the other, they work perfectly fine. But when I try to run them froma single perl program, the first one goes on running and the other two never get chance to run.
Can anyone tell me how I can run these three processes on three different shells from withing a single perl script?
Thank you so much,
Subash