[Tutor] REG : Pexpect timeout issue
Cameron Simpson
cs at cskk.id.au
Sat Sep 1 19:57:37 EDT 2018
On 01Sep2018 20:33, Alan Gauld <alan.gauld at yahoo.co.uk> wrote:
>On 01/09/18 12:41, krishna chaitanya via Tutor wrote:
>> child = spawn('su xxxxx',timeout = 50)
>
>What is the timeout interval? If its in milliseconds
>then 50 is much too short, try 5000.
>If its in seconds then you have a problem...
>
>How long does it take to connect manually using ssh?
He's not using ssh - it is all local.
Cheers,
Cameron Simpson <cs at cskk.id.au>
More information about the Tutor
mailing list