So I\'m aware that you can use Pexpect to solve the issue but i\'d like to not rely on additional libraries to solve the issue other than those supplied with Py
Pexpect
sigh.. One more google could have spared everyone the trouble.
os.waitpid(pid, 0)
how to give subprocess a password and get stdout at the same time