Few details about my setup:
- Developing on Python
- Using Paramiko to SSH connect to the Linux (ubuntu) VM
Problem: When I ssh to the VM I am executing commands while part of the commands are openning a subshell. As a result code hangs and I can't assert, run next commands, finish the execution.
I am looking for solution to switch to the subshell and execute next commands or/and close the subshell and continue code execution.