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?)

Regards, Peter

-----Original Message-----
From: Ivan Fomichev [mailto:[EMAIL PROTECTED] 
Sent: 31 July 2007 09:34
To: [email protected]
Subject: [Catalyst] Test server as a child process

Hello,

I intend to write a script, that would start the test server as a
child process and then run tests. The thing I'm failing to do is to
get output from the test server in order to determine, when the server
has started.

The problem is that test server doesn't print its prompt ("You can
connect to your server at http://localhost:3000";) when run as a child
process :-(

I dug Catalyst's sources, but didn't understood much. I put 'sleep' in
parent process for now, but I don't like it. Could anyone suggest an
adequate work-around? Thank you in advance.



_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to