Re: Send commands to a shell program
| From: | Marek Kilimajer | Date: | Fri, 31 Jan 2003 13:02:46 +0000 |
| Subject: | Re: Send commands to a shell program | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133759@lists.php.net to get a copy of this message | ||
popen might help you, but if you want to control programs from a browser, you will encounter one problem - once your script is finished, your program is closed too.
Antti wrote:
I want to for example give commands to mpg321 when it is executed with the -R option (remote control mode). Is this possible with exec() or other execute php functions. What I mean is to execute commands while being in a shell program. Hope you got it! antti