Home | History | Annotate | Download | only in sandbox
      1 #! /usr/bin/python -Es
      2 import gtk, commands, sys
      3 rc = [-1,'']
      4 try:
      5     rc=commands.getstatusoutput(sys.argv[1])
      6 except:
      7     pass
      8 if rc[0] == 0:
      9     print rc[1]
     10