RE: [PHP] php-cli - Controlling external programs

2003-07-31 Thread Jay Blanchard
[snip] Bah, not the answer I was looking for...I really wanted to use PHP and I have most of what I wanted accomplished. Thanks for the tip, I will investigate. [/snip] http://us3.php.net/features.commandline If you use -a for your command line script the script will run interactively example:

Re: [PHP] php-cli - Controlling external programs

2003-07-30 Thread Tom Rogers
Hi, Thursday, July 31, 2003, 1:53:50 PM, you wrote: MM> I'm writing a script to be run from the command line. It controls my DAT MM> autoloader (tape changer) and runs tar so that I can automate my backups. MM> With the -M option, tar will prompt for a new tape when the current tape is MM> full. H

Re: [PHP] php-cli - Controlling external programs

2003-07-30 Thread Mike Maltese
Bah, not the answer I was looking for...I really wanted to use PHP and I have most of what I wanted accomplished. Thanks for the tip, I will investigate. "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- Mike Maltese <[EMAIL PROTECTED]> wrote: > > I'm writing a scr

Re: [PHP] php-cli - Controlling external programs

2003-07-30 Thread Chris Shiflett
--- Mike Maltese <[EMAIL PROTECTED]> 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), yo