2007/7/31, Peter Edwards <[EMAIL PROTECTED]>:
> Try using IPC::Run. I can see the "You can connect" message when using it to
> run scripts/myapp_server.pl (I guess it goes through ptys?)

I've found the root of the evil.
IPC::Run won't help here :-(
The pipe is not autoflushed.
If you put '$|++' in script/myapp_server.pl, everything works all right.
BTW, is there a way to force autoflush for a Perl script executed in a
child process, e. g. through environment variables, command line
options or whatever?

Regards,
Ivan

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to