Pexpect.spawn#

Pexpect.spawn(cmd)[source]#

Start a process on the host and record it. (VM side.)

Parameters:

cmd (list) – command and arguments.

Returns:

spawned-process identifier. send, expect and close take it to address the process.

Return type:

int