note 35297 added to function.system
| From: | Jim at rack1 dot php dot net | Date: | Tue, 26 Aug 2003 18:58:22 +0000 |
| Subject: | note 35297 added to function.system | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-55134@lists.php.net to get a copy of this message | ||
To run a full screen program from a PHP CLI script, redirect input from and output to /dev/tty. For
example:
system("timeconfig > /dev/tty < /dev/tty");
System will wait for the program to finish before continuing.
----
Manual Page -- http://www.php.net/manual/en/function.system.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35297
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35297&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35297&report=yes