subprocess.Popen - No such file or directory
<p>Code:</p>

<pre><code>import subprocess

process = subprocess.Popen('echo 5')
</code></pre>

<p>Error:</p>

<pre><code>Traceback (most recent call last):
  File "test.py", line 3, in &lt;module&gt;
    process = subprocess.Popen('echo 5')
  File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.6/subprocess.py", line 1238, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
</code></pre>

<p>Can someone please advise what is the issue with the above code?</p>