Re: php-cli - Controlling external programs
| From: | Chris Shiflett | Date: | Thu, 31 Jul 2003 04:18:20 +0000 |
| Subject: | Re: php-cli - Controlling external programs | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157655@lists.php.net to get a copy of this message | ||
--- Mike Maltese <mike@pcmedx.com> wrote:
> I'm writing a script to be run from the command line.
...
> How can I get the signal from tar that the tape needs to be changed?
It sounds like you are wanting to write an interactive shell script. If this is
the case (e.g., I didn't misunderstand), you should probably use expect instead
of PHP.
Hope that helps.
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/