Catching runtime errors in application executed by os.system
<p>In my application, os.system is used to execute another program.</p>

<pre><code>os.system('./appln')
</code></pre>

<p>Is there any way to detect if a runtime error occurs in the program being executed [ for example, like a SIGSEGV]?</p>
