#! /usr/bin/python -Es
import gtk
import subprocess
import sys
rc = [-1, '']
try:
    rc = subprocess.getstatusoutput(sys.argv[1])
except:
    pass
if rc[0] == 0:
    print(rc[1])