BUG or unknown feature in pp: dll files are not extracted

-a is for data, -l is for dlls

... cygwin1.dll ...

mingw perl uses

$ perl -V:sh sh='/bin/sh';

IIRC cygwin uses the same thing (but its been a long while since I cygwin)

win32 perl uses

$ perl -V:sh sh='cmd /x /c';

So once you pack with par/pp into an .exe, it can't find /bin/sh, because it doesn't exist (the .exe doesn't know about the cygwin enviroment/$PATH etc, its a win32 program), or /bin/sh doesn't know how to call a .batch file

In short, avoid the shell, or call the right shell

I haven't the time to post a working example , but I you should be able to gain some wisdom by reading these

`STRING`

Re: Problem in creating exe using PAR module, Re^2: Packaging Perl Programs (is) Painful, Re: Building a Mojolicious app with PAR::Packer

Re: Pack multiple scripts in executables with one shared core dll

Re: system() implementation on Windows (again), Re^3: system() implementation on Windows (again)

http://blogs.msdn.com/b/twistylittlepassagesallalike/archive/2011/04/23/everyone-quotes-arguments-the-wrong-way.aspx# Everyone quotes command line arguments the wrong way


In reply to Re^3: Par Packer - gui option problems by Anonymous Monk
in thread Par Packer - gui option problems 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.