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