跳转到主要内容

expect

expect://

Process Interaction Streams

ENTITY

Streams opened via the expect:// wrapper provide access to process's stdin, stdout and stderr via PTY.

[!NOTE] In order to use the expect:// wrapper, the Expect extension available from ENTITY must be installed.

expect:// (PECL)

ENTITY

  • expect://command

ENTITY

Attribute Supported
Restricted by allow_url_fopen No
Allows Reading Yes
Allows Writing Yes
Allows Appending Yes
Allows Simultaneous Reading and Writing No
Supports stat No
Supports unlink No
Supports rename No
Supports mkdir No
Supports rmdir No

Wrapper Summary {role="stream_wrapper"}