redhat-qe-security / SCAutolib

Library for automation of smart card testing
GNU General Public License v3.0
3 stars 10 forks source link

Pexpect limitations #11

Closed x00Pavel closed 2 years ago

x00Pavel commented 2 years ago

Pexpect has some limitations that for return code, not-expect. Maybe replace it with subprocess with matching stdout and return code

x00Pavel commented 2 years ago

The issue is resolved by adding the echo $? command to the provided command from the user.