Actually I have to run it interactively, I can get this to work with perl and the expect module (which creates a terminal and provides two handle to read from it and to write to it) I am just wondering if there is some similar moddule in PHP?

Le 18-oct.-05 à 19:19, Ben a écrit :

Olivier Cant said the following on 10/18/05 02:53:

Hi list,
I'm wondering if any one has any experience at connecting to a screen session under linux with a PHP script, and reading the pty output (and maybe writing somme stuff as well) I have an interactive program runing under screen which give me some status info, and I may also issue command to it and would like to interfce that whole thing using PHP... and screen because I can(t keep a console attached forever to it.
Any idea ?


man screen suggests you might be attempting the impossible. Does your program have to be run interactively or are there other non- interactive ways to get your status information?

- Ben

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to