>>> import subprocess
>>> subprocess.Popen("pwd")
<subprocess.Popen object at 0xa7692cc>
>>> subprocess.call(["ls", "-l"])
0
I have tried the above command in Python interactive shell and expect to see the output inside the shell environment. However, it ends up with just some return values.
What should I do in order to let the return results printed inside the shell?