Skip Menu |

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 122949
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: APG [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.037
Fixed in: (no value)



Subject: PAR-Packer-1.37 executables split arguments containing whitespace
Windows executables built with pp 1.37 split any arguments containing whitespace. The bug can be seen with a one-line script: print join(':', @ARGV) Packed with pp 1.36, `a.exe "foo bar"` prints "foo bar". Packed with pp 1.37, `a.exe "foo bar"` prints "foo:bar". Encountered on Windows 7 under Strawberry perl 5.24 and 5.26.
On 2017-09-03 15:13:11, APG wrote: Show quoted text
> Windows executables built with pp 1.37 split any arguments containing > whitespace. > > The bug can be seen with a one-line script: print join(':', @ARGV) > > Packed with pp 1.36, `a.exe "foo bar"` prints "foo bar". > Packed with pp 1.37, `a.exe "foo bar"` prints "foo:bar". > > Encountered on Windows 7 under Strawberry perl 5.24 and 5.26.
Then we need to quote the strings passed to spawnvp()... Can you check with GitHub master? Cheers, Roderich
Sorry for the long delay. Tested with commit a076d4c4d5004e395dc8311d4e4729a975e815a2 and it appears to be working. Thanks.
On 2017-09-27 08:12:49, APG wrote: Show quoted text
> Sorry for the long delay. Tested with commit > a076d4c4d5004e395dc8311d4e4729a975e815a2 and it appears to be working.
Thanks for confirming! Fixed in 1.038, just released. Cheers, Roderich