Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2016-07-30 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (266 votes). Check out past polls.