How to continue process without waiting for the output of system()?



For example , I wrote:

system("calc");
print "hello";

Before the calc program is closed, the print statement will not
excute.

Any way to change the behavior?
I have tried fork, and system("calc&"), all failed.

My OS is WinXP, and I use Active Perl 5.8.8.

Thanks for your help!

.



Relevant Pages