Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 browsing the Monastery: (9)
As of 2016-09-30 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (566 votes). Check out past polls.