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: Thu, 31 Jan 2008 14:23:42 +0100
Back last year, I started using datagram sockets for communication
between a parent (GUI) and forked process:
http://mail.gnome.org/archives/gtk-perl-list/2007-July/msg00070.html
On 31/07/2007, muppet <scott asofyet org> wrote:
If small lines of text are what you have, you might actually want to
use datagram sockets, because you'll get guaranteed delivery of
entire messages.
This seems to break for utf8 messages, with:
*** unhandled exception in callback:
*** Wide character in send
I've tried creating the filehandles with
$fh = FileHandle->new(":utf8");
or
binmode $fh, ':utf8';
without success. Is it possible to get this working for datagrams, or
am I going to have to use a different technique?
Regards
Jeff
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]