Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: Two processes of a Perl EXE

by pankaj_it09 (Scribe)
on Nov 24, 2009 at 11:47 UTC ( #809058=note: print w/replies, xml ) Need Help??

in reply to Re: Two processes of a Perl EXE
in thread Two processes of a Perl EXE

Can you give more details ?

Replies are listed 'Best First'.
Re^3: Two processes of a Perl EXE
by vitoco (Friar) on Nov 24, 2009 at 13:42 UTC

    Here, I found the following that seems to be included in the module docs:

    When a non-dependant PAR package runs, there is a two stage binary frontend: first the executable demo.exe that I ran, then a second demo.exe that is extracted to the temp dir and run as a child of the first. If you look at the process list while demo.exe runs, you'll see two processes with the same name.

Re^3: Two processes of a Perl EXE
by Crackers2 (Parson) on Nov 24, 2009 at 19:19 UTC

    I'm guessing the first process is the one that extracts the perl binary and your sources from the exe, then calls the extracted binary to run the extracted sources as a separate process (to handle crashes better maybe?), and then cleans up the extracted files when perl exits.

    At least I seem to recall someone once mentioning some article where someone else said that's how it might more or less work. (In other words, I'm guessing)

Re^3: Two processes of a Perl EXE
by Anonymous Monk on Nov 24, 2009 at 12:25 UTC
    Can you find them?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://809058]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2018-06-20 21:30 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.