Re: forked process exiting before output read
- From: "Jeffrey Ratcliffe" <jeffrey ratcliffe gmail com>
- To: muppet <scott asofyet org>
- Cc: gtk-perl-list gnome org
- Subject: Re: forked process exiting before output read
- Date: Fri, 1 Feb 2008 08:16:21 +0100
On 01/02/2008, Jeffrey Ratcliffe <jeffrey ratcliffe gmail com> wrote:
Here's a demo trying to send/recv a utf8 character. It crashes with:
Apologies for the noise. The solution is
binmode $reader, ':utf8';
binmode $writer, ':utf8';
AFTER the socketpair call. I had previously tried putting binmode
immediately after creating the filehandle.
Regards
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]