[Python]How to launch a program using Thread
<p>professionals
I know how to launch a command in Linux's terminal via process, sth likes following:</p>

<pre><code>import subprocess
subprocess.Popen('ifconfig -a')
</code></pre>

<p>But this is opened in process, how can I launch that in a thread instead?</p>

<p>I know "thread.start_new_thread", while this should call a function. Within the function, I still have to use subprocess. And this just to open a process again..</p>

<p>Thank you for your help.
Respectfully..</p>
