Hello,

I like to generate "exe"-files from perl scripts with "pp".

For Example:

pp -o hello.exe hello.pl

The first time I execute "hello.exe" it takes some seconds before it is really started. I know the reason. The first time the exe-file is unpacked to a temporary directory.

The second time I start "hello.exe" is quick because just the stuff in the temporary directory is executed.

Even when I logoff and then logon again and then I start the "hello.exe" it is started fast.

But when I do a restart of the computer and then execute "hello.exe" then it takes again some seconds. It seems that it is unpacked again to a temporary directory.

This is my problem. I want that after a restart the "exe" is started fast. There shall not be an unpacking. The goal is that only the first time the exe-file is unpacked to a temporary directory. If the computer is restarted it shall take the stuff from the temporary directory and not unpacking it again.

Thank you for your help.

Greetings,

Dirk


In reply to faster start of "exe" generated by pp by Dirk80

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.