Revert some changes to Popen tests
Revert some changes to Popen tests

~ is a shell feature, so running ls ~ without a shell fails.

quatanium/pexpect,quatanium/pexpect,nodish/pexpect,nodish/pexpect,nodish/pexpect,quatanium/pexpect