mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-23 13:53:26 +00:00
10 lines
160 B
Plaintext
10 lines
160 B
Plaintext
|
#! /usr/bin/python -Es
|
||
|
import gtk, commands, sys
|
||
|
rc = [-1,'']
|
||
|
try:
|
||
|
rc=commands.getstatusoutput(sys.argv[1])
|
||
|
except:
|
||
|
pass
|
||
|
if rc[0] == 0:
|
||
|
print rc[1]
|