develooper Front page | perl.par | Postings from September 2018

[ #127064] Question about weird pp executable behavior

Thread Next
Roderich Schupp via RT
September 13, 2018 09:29
[ #127064] Question about weird pp executable behavior
Message ID:
Thu Sep 13 05:28:59 2018: Request 127064 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: Question about weird pp executable behavior 
   Broken in: (no value)
    Severity: (no value)
       Owner: RSCHUPP
      Status: open
 Ticket <URL: >

Hi Chenchen,

I was able to reproduce the problem with PAR::Packer 1.037 by running 
the packed executable with environment variables TEMP and TMP set 
to a path that contains blanks, e.g.

set TEMP=C:\Users\SCHRO2~1\.cpanm\work\1536826253.8944\PAR-Packer-1.037\t m p

The test script was

pp -o foo.exe -E "use Data::Dumper; say 'ARGV = ', Dumper(\@ARGV);"

and running this in above environment produces

.\foo.exe 1 2 3
ARGV = $VAR1 = [

The same script packed with PAR::Packer 1.047 works correctly in this environment.

Cheers, Roderich

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About