Pexpect.send#

Pexpect.send(ctl_id, *a, **kw)[source]#

Write to one process’ standard input.

Parameters:
  • ctl_id (int) – spawned-process identifier.

  • *a – positional arguments passed to pexpect.send.

  • **kw – keyword arguments passed to pexpect.send.

Returns:

number of bytes sent.

Return type:

int