- Package:
- libipc-run-perl
- Source:
- libipc-run-perl
- Submitter:
- "Marcos Riosalido"
- Date:
- 2026-05-13 02:43:32 UTC
- Severity:
- normal
- Tags:
To establish LANG=es_ES generate the following error
ack Error de entrada/salida: read ( 3 ) at /usr/share/perl5/IPC/Run/IO.pm
Which is not the case putting LANG=C.
This happens in the use of IPC::Run::harness in the method pump.
tag 450663 + moreinfo thanks Hi Marcos It's long time you reported this issue. Is this your problem stil reproducible? If yes, could you give some minimal example showing this? Bests Salvatore
tag 450663 + moreinfo thanks Hi Marcos It's long time you reported this issue. Is this your problem stil reproducible? If yes, could you give some minimal example showing this? Bests Salvatore
This bug is old, but i have the problem too.
$IPC::Run::VERSION == '0.89'
OS: debian squeeze.
I installed IPC::Run with cpan.
running something like this:
my @command = ("sfdisk", ...);
my $command_out = '';
my $command_in;
my $command_h = start \@command, '<pty<', \$command_in, '>pty>',
\$command_out;
while(pump $command_h) {
...
# Do some stuff with sfdisk
...
}
finish($command_h);
When using my default locale (fr_FR.UTF8), i get this error: 'ack Erreur
d'entrée/sortie: read( 4 ) at /usr/share/perl5/IPC/Run/IO.pm line 558'
When setting LC_ALL=POSIX, everything goes well.
- "run() miscalculates length of UTF-8 strings" https://rt.cpan.org/Ticket/Display.html?id=14078 - " Pumping UTF-8 data mangles it" https://rt.cpan.org/Public/Bug/Display.html?id=58853 I'm going to suggest upstream to use binmode on the file handles All the best Dominique -- http://config-model.wiki.sourceforge.net/ -o- http://search.cpan.org/~ddumont/ http://www.ohloh.net/accounts/ddumont -o- http://ddumont.wordpress.com/
I'm the upstream author and am having quite a bit of trouble determining if this bug is reported upstream. I would guess the issue you're reporting here is related to this which we're actively discussing. Thoughts? https://github.com/toddr/IPC-Run/issues/116