Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to execute an external program, and DON'T wait for child process

Status
Not open for further replies.

Yeppo

Programmer
Joined
Nov 20, 2002
Messages
2
Location
NL
...to end?

system DOES wait, and exec just kills the PERL program
 
Under Unix, background the process, i.e. add an & to the comamnd line as in: system "ls &".

Under Windows, you might be able to use the START command. I haven't tried it but based on the description, it should work as in: system "START notepad.exe"
 
The Windows-method does wordk indeed.

Thnx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top