Running command lines in python
<p>I'm having troubles running commands lines in python.
I'm currently using </p>

<pre><code>os.system("cd " + path)
os.system(command)
</code></pre>

<p>However, os.system opens a new console each time.</p>

<p>What class should i use for it to work ?
How can I intercept the output ?</p>

<p>Thanks !</p>
