2011-08-15 17:56:02 +00:00
|
|
|
#! /usr/bin/python -Es
|
2015-07-24 08:07:13 +00:00
|
|
|
import gtk
|
|
|
|
import subprocess
|
|
|
|
import sys
|
|
|
|
rc = [-1, '']
|
2011-08-15 17:56:02 +00:00
|
|
|
try:
|
2015-07-24 08:07:13 +00:00
|
|
|
rc = subprocess.getstatusoutput(sys.argv[1])
|
2011-08-15 17:56:02 +00:00
|
|
|
except:
|
|
|
|
pass
|
|
|
|
if rc[0] == 0:
|
2015-07-21 00:38:20 +00:00
|
|
|
print(rc[1])
|