Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

WIN32 exec mystery

by major tom (Novice)
on Jul 02, 2002 at 18:10 UTC ( [id://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 about the Monastery: (7)
As of 2024-03-28 16:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found