Skip Menu |

This queue is for tickets about the IPC-Run CPAN distribution.

Report information
The Basics
Id: 25058
Status: rejected
Priority: 0/
Queue: IPC-Run

People
Owner: Nobody in particular
Requestors: mb [...] computer-leipzig.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.80
  • 0.80_91
  • 0.89
Fixed in: (no value)



Subject: IPC::RUN::IO depends on English locale, leads to "read error"
Cause is the regex m/^Resource temporarily/ in the method _do_filters in IPC/Run/IO.pm. A numerical value from $! should be used here, not sure. Workaround is to set LANG=C before/while starting the perl script. It is not enough to $ENV{'LANG'}='C' in the script, because by then the locale was already set.
Le 2007-02-21 05:23:07, micha137 a écrit : Show quoted text
> Cause is the regex m/^Resource temporarily/ in the method _do_filters in > IPC/Run/IO.pm. > > A numerical value from $! should be used here, not sure.
Same problem here: t/pty.t fails if the locale is not english. This is IPC::Run 0.89 on Ubuntu 10.10 with perl 5.10.1 and LANG=fr_FR.UTF-8 $ LANG=fr_FR.UTF-8 perl -Ilib t/pty.t 1..32 # IO::Tty 1.08, IO::Pty 1.08 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ack Erreur d'entrée/sortie: read( 3 ) at lib/IPC/Run/IO.pm line 558 # Looks like you planned 32 tests but ran 13. # Looks like your test exited with 5 just after 13. $ LANG=C perl -Ilib t/pty.t 1..32 # IO::Tty 1.08, IO::Pty 1.08 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 -- Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/
This a duplicate of RT#38193 where there is some work towards a solution. -- Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/
Duplicate of RT 38193