Closed x00Pavel closed 2 years ago
Pexpect has some limitations that for return code, not-expect. Maybe replace it with subprocess with matching stdout and return code
The issue is resolved by adding the echo $? command to the provided command from the user.
echo $?
Pexpect has some limitations that for return code, not-expect. Maybe replace it with subprocess with matching stdout and return code