Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Why there are two process for my application after compiling it by pp?

by seven_shen (Acolyte)
on May 28, 2011 at 18:39 UTC ( #907150=perlquestion: print w/replies, xml ) Need Help??
seven_shen has asked for the wisdom of the Perl Monks concerning the following question:

Here is the code:

#!/usr/bin/perl
use Tk;
#MainWindow
our $mw = MainWindow->new;
$mw->configure(-bg=>"#9AC0CD");
$mw->geometry("800x600+240+80");
$mw->resizable( 0, 0 );
$mw->title("hello");
$mw->Label(-text =>'hellov1.0',-font=>[-size=>24],-bg=>"#9AC0CD")->pac +k();
MainLoop;

question is that after i compiling the script with pp by following command:

pp -gui -i hello.ico -o hello.exe hello.pl

When i run the generated EXE file, i find there are two hello.exe in windows task manager, what's the problem?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://907150]
Approved by Corion
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2016-12-06 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (118 votes). Check out past polls.