mirror of
https://github.com/SELinuxProject/selinux
synced 2025-02-02 19:02:11 +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]
|