[rt.cpan.org #122949] PAR-Packer-1.37 executables split arguments containing whitespace

[email protected] ("Andrew Gregory via RT")
Newsgroups perl.par
Message-ID <[email protected]>
Sun Sep 03 15:13:11 2017: Request 122949 was acted upon.
Transaction: Ticket created by APG
       Queue: PAR-Packer
     Subject: PAR-Packer-1.37 executables split arguments containing whitespace
   Broken in: 1.037
    Severity: Important
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=122949 >


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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.