Query: expect_popen
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
EXPECT_POPEN(3) 1 EXPECT_POPEN(3) expect_popen - Execute command via Bourne shell, and open the PTY stream to the processSYNOPSISresource expect_popen (string $command)DESCRIPTIONExecute command via Bourne shell, and open the PTY stream to the process.PARAMETERSo $command - Command to execute.RETURN VALUESReturns an open PTY stream to the processes stdio, stdout, and stderr. On failure this function returns FALSE.EXAMPLESExample #1 expect_popen(3) example <?php // Login to the PHP.net CVS repository: $stream = expect_popen ("cvs -d :pserver:anonymous@cvs.php.net:/repository login"); sleep (3); fwrite ($stream, "phpfi "); fclose ($stream); ?>SEE ALSOpopen(3). PHP Documentation Group EXPECT_POPEN(3)
Related Man Pages |
---|
pclose(3) - bsd |
pclose(3s) - hpux |
stream_set_timeout(3) - php |
expect_expectl(3) - php |
stream_filter_remove(3) - php |
Similar Topics in the Unix Linux Community |
---|
Simple rules of the UNIX.COM forums: |
Rules for Homework & Coursework Questions Forum |
Status of UNIX.COM Forum Transformation |
Please Welcome Ravinder Singh to the Moderation Team |