Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How do I start two programs without waiting for first one to be finished ?

by Anonymous Monk
on Feb 10, 2001 at 00:59 UTC ( [id://57479]=note: print w/replies, xml ) Need Help??


in reply to How do I start two programs without waiting for first one to be finished ?

On Windows, I use this to launch one program and not wait, and then another with waiting.
use Win32::Process; my $path = "C:\\mydirectory\\myprogram.exe"; Win32::Process::Create( $Process, $path, "myprogram", 0, NORMAL_PRIORITY_CLASS, "." ) or die "Can't Create - $!"; chdir "c:\\Program Files\\CoolRuler"; system "coolruler.exe";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://57479]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-03-29 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found