On Thu, 27 Apr 2006 16:22:49 -0400 Adam Montague amontague@siriushosting.com wrote:
I am trying to get an interactive mode working for my app, to make debugging it easier. I created a "Hilfe" class that inherits Tools.Hilfe.StdinHilfe, and if the app is called with -i, I call add_constant() on this, call Hilfe(), and then return.
But when I start my app with -i, I get the welcome to hilfe message, and then it starts spewing 0 at me forever, I am back at my shell, and I have to kill the pike process to get the 0s to stop.
Ok, its just starting my app using another pike script that causes this. If I run "pike myapp -i" everything works fine. Its just if I have a pike script for starting/stopping/reloading/etc my app that uses Process.create_process(({"pike", "myapp", "-i"})) to start my app, then it spews 0s at me.
Adam