Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Threads

by Nitrox (Chaplain)
on Dec 18, 2002 at 13:48 UTC ( #220837=note: print w/replies, xml ) Need Help??


in reply to Running another script in the background on Win32

Here is a snippet of what I use to start another script that sit's in a while(1) loop polling the serial port.
use Win32::Process; my ($perl_path) = $^X =~ /(.*)\\perlse\.dll$/i; $perl_path =~ s/\\/\//g; Win32::Process::Create($Obj,$perl_path . "/perl.exe","perl poller.pl", +0,DETACHED_PROCESS,"/scripts") or die ErrorReport();
-Nitrox

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2023-06-08 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (35 votes). Check out past polls.

    Notices?