platform_external_selinux/policycoreutils/sandbox/start

12 lines
180 B
Text
Raw Normal View History

#! /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])