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