]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/shell.py
Update TODO.
[wizard.git] / wizard / shell.py
index 687071205a14fe12a63557dc722a0b20f3195e24..1ee9bfadf04fa2a542a44a65d1ed456004a638db 100644 (file)
@@ -313,6 +313,12 @@ class ParallelShell(Shell):
             return
         on_success(stdout, stderr)
 
+# Setup a convenience global instance
+shell = Shell()
+call = shell.call
+callAsUser = shell.callAsUser
+safeCall = shell.safeCall
+eval = shell.eval
 
 class DummyParallelShell(ParallelShell):
     """Same API as :class:`ParallelShell`, but doesn't actually