Re: How to continue process without waiting for the output of system()?
- From: Ben Morrow <ben@xxxxxxxxxxxx>
- Date: Thu, 30 Aug 2007 21:44:06 +0100
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
.
- Follow-Ups:
- References:
- Prev by Date: Re: Searching in a line
- Next by Date: Re: Searching in a line
- Previous by thread: Re: How to continue process without waiting for the output of system()?
- Next by thread: Re: How to continue process without waiting for the output of system()?
- Index(es):
Relevant Pages
|