Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Sys-Cmd CPAN distribution.

Report information
The Basics
Id: 85410
Status: resolved
Priority: 0/
Queue: Sys-Cmd

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.80.1_2
  • 0.80.2
  • 0.81.6
  • 0.81.8
Fixed in: (no value)



Subject: tests hang on Windows
# Failed test 'The object isa IO::File' # at t/10-command.t line 117. # The object isn't a 'IO::File' it's a 'IO::Handle' # Failed test 'The object isa IO::File' # at t/10-command.t line 117. # The object isn't a 'IO::File' it's a 'IO::Handle' # Failed test 'The object isa IO::File' # at t/10-command.t line 117. # The object isn't a 'IO::File' it's a 'IO::Handle' (hangs) -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #85410] tests hang on Windows
Date: Sun, 19 May 2013 12:58:21 +1200
To: Alexandr Ciornii via RT <bug-Sys-Cmd [...] rt.cpan.org>
From: Mark Lawrence <nomad [...] null.net>
Hi Alexandr, Show quoted text
> # at t/10-command.t line 117. > # The object isn't a 'IO::File' it's a 'IO::Handle' > (hangs)
Thanks for the report. I have known for a while that Sys::Cmd is broken on Windows, but I don't have access to a machine to develop and test on. I've written a blog entry on blogs.perl.org to try to find some support, but until I get some I won't be able to do much. I'll leave this issue open of course, to be answered when the situation changes. I'm sorry that I can't offer a solution at this stage. Mark. -- Mark Lawrence
Version 0.81.8 introduced proper Win32 support using the Proc::FastSpawn module. I now have access to a Strawberry Perl environment and Sys::Cmd 0.81.9_3 now passes all of its tests there, so I'm going to close this ticket as the hang issue is solved. However I have seen some other test failures on Win32 (perhaps that is why you set the broken flag for version 0.81.8?) relating to the exit status not being retrieved, but I can't duplicate them. If you do come across this feel free to raise another ticket. Thanks for your patience. -- Mark Lawrence