hi,
found a tutorial that helped me! watch the "&" !
http://www.phpfreaks.com/print.php?cmd=tutorial&tut_id=71
perhaps we can help each other?
I am trying to "talk" to a shell dialog using proc_open in a forked script. The answers i can pick off a pipe. Then i can send an other question and wait for the answer ...., till quitting.
My problem is : how to determin that the answer is completed?
I just wait for a timeout for the longest answer, ---very ugly!!
have a hint? thanks