expect_popen()
expect_popen - Execute command via Bourne shell, and open the PTY stream to the process
Syntax
resource expect_popen (
string $command)
Arguments
- command - Command to execute.
Description
Execute command via Bourne shell, and open the PTY stream to the process.
Version
PHP PECL expect >= 0.1.0
Return value
Returns an open PTY stream to the processes stdio, stdout, and stderr.