New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
system LIST on Win32 doesn't quote accurately #13190
Comments
From @haargThis is a bug report for perl from haarg@haarg.org, Program arguments on Win32 are passed as a single string, which is For system LIST to work, perl must assemble the list into a single cmd.exe uses a different set of parsing rules from the C runtime. It I have a module on CPAN, Win32::ShellQuote, that will quote things Flags: Site configuration information for perl 5.18.0: Configured by gknop at Sat May 18 11:37:06 EDT 2013. Summary of my perl5 (revision 5 version 18 subversion 0) configuration: Locally applied patches: @INC for perl 5.18.0: Environment for perl 5.18.0: |
From @haarguse strict; sub dd ($) { my $out = Data::Dumper::Dumper($params); BEGIN { use Test::More; my @strings = ( # from EUMM. Not all meant to be used like this, but still good test material q{print q[ &<>^|()@ ! ]}, "\n", "a\fb", plan tests => 3*@strings; for my $test (@strings) { |
From @jkeenanOn Thu Aug 22 00:57:49 2013, haarg wrote:
Would you be able to provide some examples of failing cases?
Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
From @haargOn Thu Aug 22 18:34:41 2013, jkeenan wrote:
The initial report has a test case attached that demonstrates the |
From @haarg1..141 |
From @ikegamiOn Thu, Aug 22, 2013 at 9:34 PM, James E Keenan via RT <
C<dir> is a shell built-in, so system LIST shouldn't be able to execute it,
Directory of C:\Users\ikegami 2013-08-19 11:27 PM <DIR> . Curly bracket notation still avoids the shell, though.
|
Migrated from rt.perl.org#119419 (status was 'open')
Searchable as RT119419$
The text was updated successfully, but these errors were encountered: