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? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2022-05-24 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (82 votes). Check out past polls.

    Notices?