zpimp has asked for the wisdom of the Perl Monks concerning the following question:
Hello everyone! i am having some trouble with PAR::Packer
I made a PAR executable package from a script and it runs fine. When I run it, it extracts to a temporary folder and executes from there.
I want to take the already extracted contents and launch that in some way from command line. I assume after extraction there is some exe launched with some arguments, but this isnt documented anywhere that i read, or is more advanced than i can understand
in the extracted temp file the only executable seems to be a modified copy of par.exe I found in the PAR module in my strawberryperl distribution (same 57344 bytes, 97 bytes are different).
when i run it i get
Can't locate Win32.pm in @INC (@INC contains: .) at -e line 779. BEGIN failed--compilation aborted at -e line 965.
I think there's something to do with @INC wich now i believe is something like include. Tried to manually set perl5lib env var and PAR variables in windows still no luck
Its like blackmagic , i have read everything i could find on PAR but it didnt solve my problem. Today i tried process explorer on it and it shows that the packed exe is running the small exe 37k from temp file, but no command line arguments. so it must be a temp file or env variable somewhere.
i posted this on another site but didnt get an answer, thats why im posting here too
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: strawberryperl on windows, running extracted par package from command line
by kcott (Archbishop) on Apr 03, 2014 at 17:53 UTC | |
Re: strawberryperl on windows, running extracted par package from command line
by Bloodnok (Vicar) on Apr 03, 2014 at 17:30 UTC | |
by Anonymous Monk on Apr 04, 2014 at 00:07 UTC | |
Re: strawberryperl on windows, running extracted par package from command line
by Anonymous Monk on Apr 03, 2014 at 23:15 UTC |