|
|||||||||||||
|
|||||||||||||
proc_open(PHP 4 >= 4.3.0, PHP 5) proc_open — Execute a command and open file pointers for input/output Описание
resource proc_open
( string $cmd
, array $descriptorspec
, array &$pipes
[, string $cwd
[, array $env
[, array $other_options
]]] )
proc_open() is similar to popen() but provides a much greater degree of control over the program execution. Список параметров
Возвращаемые значенияReturns a resource representing the process, which should be freed using proc_close() when you are finished with it. On failure returns FALSE. Список изменений
Примеры
Пример #1 A proc_open() example
<?phpРезультатом выполнения данного примера будет что-то подобное:
Примечания
| |||||||||||||
|
|||||||||||||