How can I have a PHP-CLI script which uses stdin open another PHP-CLI that uses stdin.....

From: Date: Thu, 16 Sep 2004 20:40:13 +0000
Subject: How can I have a PHP-CLI script which uses stdin open another PHP-CLI that uses stdin.....
Groups: php.general 
Request: Send a blank email to php-general+get-196916@lists.php.net to get a copy of this message
All, I have a PHP Command Line Interface (CLI) script which uses stdin and stdout for reading and writing to/from the terminal. Now I need to have that script open another PHP-CLI script which ALSO needs to uses stdin and stdout for reading and writing to/from the terminal. This script may in turn open another... and another.... Of course after the script ends it returns to the line in the script that called it and so on. Until it's "done" I am writing a bunch of PHP-CLI scripts which open other helper PHP-CLI scripts which may be called together or apart (so includes don't work) Don Myers BTW I am using PHP 4.3.8 (cgi/cli)

« previous php.general (#196916) next »