def shellne(command):
child = os.popen(command)<EOL>data = child.read()<EOL>err = child.close()<EOL>if err:<EOL><INDENT>raise RuntimeError('<STR_LIT>' % (command, err))<EOL><DEDENT>return data<EOL>
Runs 'commands' on the underlying shell; any stderr is echo'd to the
console.

Raises a RuntimeException on any shell exec errors.