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

capturex with spaces and an empty argument works fine on Linux - and fails on Win64 (Windows 7 Strawberry Perl) #14

Open
shlomif opened this issue May 2, 2014 · 2 comments

Comments

@shlomif
Copy link

shlomif commented May 2, 2014

The following program works fine on Linux, but fails on Win64 / Windows 7 x86-64 / Strawberry Perl 5.18.2:

use strict;
use warnings;

use IPC::System::Simple qw( capturex );

my $s =
capturex(
    $^X,
    "-e",
    'use Data::Dumper; print Dumper([@ARGV]);',
    '--',
    '-p', '',
);

print $s, "\n";

I am getting test failures for https://metacpan.org/release/App-Du-Analyze on Windows due to that. Please look into fixing it.

Regards,

-- Shlomi Fish

@jkeenan
Copy link
Collaborator

jkeenan commented Mar 19, 2020

Can you try the following branch in the github repository and see if it reduces the number of test failures?
https://github.com/pjf/ipc-system-simple/tree/theory-win32quote

Thank you very much.
Jim Keenan

@jkeenan
Copy link
Collaborator

jkeenan commented Mar 24, 2020

I believe that this issue may be resolved in IPC-System-Simple version 1.30, just released to CPAN. Can you confirm?

Thank you very much.
Jim Keenan

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

No branches or pull requests

2 participants