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

WIN32 exec mystery

by major tom (Novice)
on Jul 02, 2002 at 18:10 UTC ( #178936=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $prg='"c:/winnt/notepad.exe"'; #CONSOLE WINDOWS IS NOT CLOSED
      my $prg='c:/winnt/notepad.exe'; #CONSOLE WINDOWS IS CLOSED
    
  2. or download this
    my $prg='"c:/winnt/notepad.exe"'; #CONSOLE WINDOWS IS NOT CLOSED
    #my $prg='c:/winnt/notepad.exe'; #CONSOLE WINDOWS IS CLOSED
     
    ...
    print "\nKill self (parent, that is) to close CONSOLE window";
    kill 'STOP',$$; 
    exit(0);
    
  3. or download this
    sub REAPER
    {
      $waitedpid=wait;
    ...
    }
    
      $SIG{'CHLD'}=\&REAPER;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://178936]
Approved by Rex(Wrecks)
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2023-12-06 18:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (31 votes). Check out past polls.

    Notices?