On Sun, Feb 06, 2011 at 08:13:18PM -0500, Alexandr Ciornii via RT wrote:
Show quoted text> Sun Feb 06 20:13:17 2011: Request 65512 was acted upon.
> Transaction: Ticket created by CHORNY
> Queue: System-Command
> Subject: t\10-command.t hangs on Windows
> Broken in: 1.01
> Severity: Important
> Owner: Nobody
> Requestors: CHORNY@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=65512 >
>
>
> # Failed test 'perl t\info.pl'
> # at t\10-command.t line 122.
> # Structures begin differing at:
> # $got->{env}{PWD} = 'C:/DOCUME~1/Sasha/LOCALS~1/Temp/wGgzMqZSTy'
> # $expected->{env}{PWD} =
> 'C:/strawberry/cpan/build/System-Command-1.01-_TA8fa'
>
> nothing is printed after this
>
Yes. It is a known issue. :-(
I have a number of win32- related branches, showing different strategies to
make it work under Win32. See github.
Basically:
- master and win32 hang some tests
- win32-ipc-run works, but is slow
- win32-socketpair hangs some tests
I just realized the BUGS section didn't mention that it didn't yet work
under Win32.
I'll probably temporarily merge win32-ipc-run, so that it "works". But
for modules like Git::Repository (for which System::Command was actually
written), the speed cost of using IPC::Run is too high, so I'm looking
for a way (involving some Win32:: modules) to make things work at a
decent speed under Win32. Help is very welcome.
--
Philippe Bruhat (BooK)
The best of intentions must still have directions.
(Moral from Groo The Wanderer #95 (Epic))