php-cli - Controlling external programs
| From: | Mike Maltese | Date: | Thu, 31 Jul 2003 03:53:50 +0000 |
| Subject: | php-cli - Controlling external programs | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-157654@lists.php.net to get a copy of this message | ||
I'm writing a script to be run from the command line. It controls my DAT
autoloader (tape changer) and runs tar so that I can automate my backups.
With the -M option, tar will prompt for a new tape when the current tape is
full. How can I get the signal from tar that the tape needs to be changed?
Is there another way to interact with external programs other than, exec,
backticks, etc.? I'm running 4.3.2-cli on FreeBSD with POSIX and pcntl
functions enabled.
Thanks,
Mike