Skip to content
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

Fix windows arguments passing #13

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

wilx
Copy link

@wilx wilx commented Feb 6, 2014

See also #10.

@shlomif
Copy link

shlomif commented May 2, 2014

@wilx: on my Windows 7 x86-64 VM with strawberry perl 5.18.2, on your fix-windows-arguments-passing branch (which I converted into a standard Perl distribution using "dzil build" on Linux), then "perl Makefile.PL" ; "dmake" ; "dmake test" stalls at t/04capture.t on 1/12 . Can you look into it?

Regards,

-- Shlomi Fish

@schwern
Copy link

schwern commented Aug 8, 2016

The problem was introduced in 1d99f77 just before this PR. That might be simpler to debug.

FWIW this works fine on the version of perl that comes with the Windows version of Git. But it doesn't work with Strawberry 5.20.1.

The problem this PR is solving is causing perl5i headaches on Windows.

use IPC::System::Simple 'system';  # or use autodie ':system'
system $^X, '-E', q[say 'Hello']; # doesn't work

system $^X, '-E', q["say 'Hello'"]; # "works", but doesn't work on Unix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants