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




Quoth Cod <zencod@xxxxxxxxx>:
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.

The (approximate) equivalent of 'cmd &' under NT is 'start cmd'. So

system "start calc";

As others have said, fork ought to work anyway.

Ben

.



Relevant Pages