#! /usr/bin/env python

from subprocess import Popen, PIPE


def _popen(cmd):
    """
    Fork the specified command, returning a tuple of (stdout, stderr)
    """
    return Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE).communicate()

@@ -62,14 +62,14 @@
 def 
-_popen
+launch
 (cmd
@@ -231,8 +231,122 @@
 icate()%0A
+%0A%0Adef get_stdout(cmd):%0A    %22%22%22%0A    Fork the specified command, returning stdout%0A    %22%22%22%0A    return launch(cmd)%5B0%5D%0A

Add a wrapper to get just stdout back