Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Using Proc::Background and Win32

by mmartin (Monk)
on Oct 18, 2013 at 17:12 UTC ( [id://1058782]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >ASSOC .pl
    .pl=Perl
    
    >FTYPE Perl
    Perl="C:\strawberry\perl\bin\perl.exe" "%1" %*
    
  2. or download this
    ### THIS ONE GIVE AN ERROR:
    $proc = Proc::Background->new("bg_script.pl $ARG1 $ARG2 $ARG3 $ARG4");
    ...
    ### THIS ONE WORKS:
    $proc = Proc::Background->new("perl bg_script.pl $ARG1 $ARG2 $ARG3 $AR
    +G4");
    
  3. or download this
    ### Backticks --- *THIS ONE WORKS:
    `bg_script.pl $ARG1 $ARG2 $ARG3 $ARG4`
    
    ### system() --- *THIS ALSO WORKS:
    system("bg_script.pl $ARG1 $ARG2 $ARG3 $ARG4");
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1058782]
Approved by keszler
Front-paged by tye
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found