Results of 1 - 10 of about 19 for expectl (0.001 sec.)
- 定義済み定数 10552
- « リソース型 例 » PHP Manual Expect 定義済み定数 検索 定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 EXP_GLOB ( int ) パター
... XP_REGEXP ( int ) パターンが、正規表現形式の文字列パターンであることを示します。 EXP_EOF ( int ) EOF に到達した際に expect_expectl() が返す値です。 EXP_TIMEOUT ( int ) expect.timeout で指定した秒数を こえた際に expect_expectl() が返す値です。 EXP_FULLBU ... FFER ( int ) 一致するパターンがなかった際に expect_expectl() が返す値です。 関連キーワード: int パターン 定数 expect expectl リソース Search Expect 拡張 モジュール 組み込み コンパイ ...
-
https://man.mtool.work/php/8.3/expect.constants.html
- 定義済み定数 10552
- « リソース型 例 » PHP Manual Expect 定義済み定数 検索 定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 EXP_GLOB ( int ) パター
... XP_REGEXP ( int ) パターンが、正規表現形式の文字列パターンであることを示します。 EXP_EOF ( int ) EOF に到達した際に expect_expectl() が返す値です。 EXP_TIMEOUT ( int ) expect.timeout で指定した秒数を こえた際に expect_expectl() が返す値です。 EXP_FULLBU ... FFER ( int ) 一致するパターンがなかった際に expect_expectl() が返す値です。 関連キーワード: パターン 定数 expect expectl リソース Expect 拡張 組み込み コンパイル 実行時 ロード glob ...
-
https://man.mtool.work/php/8.3/expect.constants.html
- プロセスの出力がパターンに一致する・指定した時間が経過する・ 10330
- « Expect 関数 expect_popen » PHP Manual Expect 関数 プロセスの出力がパターンに一致する・指定した時間が経過する・ あるいは EOF に達するのいずれかにあてはまるまで待ち続ける 検索 expect_expectl (PECL expect >= 0.1.0) expect_expectl — プロセスの
... パターンに一致する・指定した時間が経過する・ あるいは EOF に達するのいずれかにあてはまるまで待ち続ける 説明 function expect_expectl ( resource $expect , array $cases , array &$match = ? ): int プロセスの出力がパターンに一致する・指定した時間が経過する・ ... 1 より前では、 match パラメータに返されるのはマッチした文字列であり、 部分文字列の配列ではありませんでした。 例 例1 expect_expectl() の例 <?php // ファイルをリモートホストにコピーします ini_set ( "expect.timeout" , 30 ); $stream = fopen ( "expect://scp ... array( "password:" , "asked for password" ), array( "yes/no)?" , "asked for yes/no" ) ); while ( true ) { switch ( expect_expectl ( $stream , $cases )) { case "asked for password" : fwrite ( $stream , "my password\n" ); break; case "asked for yes/no" : ...
-
https://man.mtool.work/php/8.3/function.expect-expectl.html
- プロセスの出力がパターンに一致する・指定した時間が経過する・ 10330
- « Expect 関数 expect_popen » PHP Manual Expect 関数 プロセスの出力がパターンに一致する・指定した時間が経過する・ あるいは EOF に達するのいずれかにあてはまるまで待ち続ける 検索 expect_expectl (PECL expect >= 0.1.0) expect_expectl — プロセスの
... パターンに一致する・指定した時間が経過する・ あるいは EOF に達するのいずれかにあてはまるまで待ち続ける 説明 function expect_expectl ( resource $expect , array $cases , array &$match = ? ): int プロセスの出力がパターンに一致する・指定した時間が経過する・ ... 1 より前では、 match パラメータに返されるのはマッチした文字列であり、 部分文字列の配列ではありませんでした。 例 例1 expect_expectl() の例 <?php // ファイルをリモートホストにコピーします ini_set ( "expect.timeout" , 30 ); $stream = fopen ( "expect://scp ... array( "password:" , "asked for password" ), array( "yes/no)?" , "asked for yes/no" ) ); while ( true ) { switch ( expect_expectl ( $stream , $cases )) { case "asked for password" : fwrite ( $stream , "my password\n" ); break; case "asked for yes/no" : ...
-
https://man.mtool.work/php/8.3/function.expect-expectl.html
- Expect 関数 10330
- « Expect の使用例 expect_expectl » PHP Manual Expect Expect 関数 検索 Expect 関数 目次 expect_expectl — プロセスの出力がパターンに一致する・指定した時間が経過する・ あるいは EOF に達するのいずれかにあてはまるまで待ち続ける expect_popen — Bo
... urne シェル経由でコマンドを実行し、プロセスへの PTY ストリームをオープンする 関連キーワード: Expect expect expectl 目次 パターン 一致 時間 経過 popen Bourne シェル 経由 ストリーム オープン ...
-
https://man.mtool.work/php/8.3/ref.expect.html
- Expect 関数 10228
- « Expect の使用例 expect_expectl » PHP Manual Expect Expect 関数 検索 Expect 関数 目次 expect_expectl — プロセスの出力がパターンに一致する・指定した時間が経過する・ あるいは EOF に達するのいずれかにあてはまるまで待ち続ける expect_popen — Bo
... urne シェル経由でコマンドを実行し、プロセスへの PTY ストリームをオープンする 関連キーワード: Expect expect expectl Search 目次 パターン 一致 時間 経過 popen Bourne シェル 経由 ストリーム オープン navigate Enter select Esc close ...
-
https://man.mtool.work/php/8.3/ref.expect.html
- Expect の使用例 9135
- « 例 Expect 関数 » PHP Manual 例 Expect の使用例 検索 Expect の使用例 例1 Expect の使用例 この例ではリモートホストに SSH 経由で接続し、接続先の稼働時間を表示します。 <?php ini_set ( "expect.loguser" , "Off" ); $stream = fopen ( "expect://ss
... h root@remotehost uptime" , "r" ); $cases = array ( array ( 0 => "password:" , 1 => PASSWORD ) ); switch ( expect_expectl ( $stream , $cases )) { case PASSWORD : fwrite ( $stream , "password\n" ); break; default: die ( "リモートホストへの接続時 ... ; ini_set ( "expect.loguser" , "Off" ); $stream = expect_popen ( "ssh root@remotehost" ); while ( true ) { switch ( expect_expectl ( $stream , array ( array ( "password:" , PASSWORD ), // SSH がパスワードを問い合わせます array ( "yes/no)?" , YESNO ), // ... NO : fwrite ( $stream , "yes\n" ); break; case SHELL : fwrite ( $stream , "uname -a\n" ); while ( true ) { switch ( expect_expectl ( $stream , array ( array ( "~$ " , SHELL , EXP_EXACT ), // シェルにたどり着きました! array ( "^Linux.*$" , UNAME , EXP_RE ...
-
https://man.mtool.work/php/8.3/expect.examples-usage.html
- Expect の使用例 9135
- « 例 Expect 関数 » PHP Manual 例 Expect の使用例 検索 Expect の使用例 例1 Expect の使用例 この例ではリモートホストに SSH 経由で接続し、接続先の稼働時間を表示します。 <?php ini_set ( "expect.loguser" , "Off" ); $stream = fopen ( "expect://ss
... h root@remotehost uptime" , "r" ); $cases = array ( array ( 0 => "password:" , 1 => PASSWORD ) ); switch ( expect_expectl ( $stream , $cases )) { case PASSWORD : fwrite ( $stream , "password\n" ); break; default: die ( "リモートホストへの接続時 ... ; ini_set ( "expect.loguser" , "Off" ); $stream = expect_popen ( "ssh root@remotehost" ); while ( true ) { switch ( expect_expectl ( $stream , array ( array ( "password:" , PASSWORD ), // SSH がパスワードを問い合わせます array ( "yes/no)?" , YESNO ), // ... NO : fwrite ( $stream , "yes\n" ); break; case SHELL : fwrite ( $stream , "uname -a\n" ); while ( true ) { switch ( expect_expectl ( $stream , array ( array ( "~$ " , SHELL , EXP_EXACT ), // シェルにたどり着きました! array ( "^Linux.*$" , UNAME , EXP_RE ...
-
https://man.mtool.work/php/8.3/expect.examples-usage.html
- リソース型 9015
- « 実行時設定 定義済み定数 » PHP Manual インストール/設定 リソース型 検索 リソース型 expect_popen() は、オープンした PTY ストリームを返します。これを expect_expectl() で使用します。 関連キーワード: リソース expect 実行時 定数 popen オープン
... ストリーム expectl ...
-
https://man.mtool.work/php/8.3/expect.resources.html
- リソース型 8913
- « 実行時設定 定義済み定数 » PHP Manual インストール/設定 リソース型 検索 リソース型 expect_popen() は、オープンした PTY ストリームを返します。これを expect_expectl() で使用します。 関連キーワード: リソース expect 実行時 Search 定数 インスト
... ール popen オープン ストリーム expectl navigate Enter select Esc close open ...
-
https://man.mtool.work/php/8.3/expect.resources.html