Re: expect_expectl: how to show the part of the stream that it is matching against

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 2, 2015 at 1:35 PM, JM <jm+php-general@xxxxxxx> wrote:

> Hi,
>
> Concerning this: http://php.net/manual/en/expect.examples-usage.php
>
> How do I output the buffer that expect is currently working on?
>
> It's nice that using expect within PHP is possible at all, but without an
> option to output the current working contents of the stream you are like
> developing in the dark...
>
> Best regards,
>
> Marki
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> FYI Your email went into spam on gmail.

If you want what is coming from the server, you would store the results of
expect_expectl in a variable and output it. Unless you mean something else
by the buffer!

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux