File: start

package info (click to toggle)
policycoreutils 2.1.10-9
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 14,540 kB
  • sloc: ansic: 9,406; python: 3,383; makefile: 605; sh: 562; cpp: 315
file content (9 lines) | stat: -rw-r--r-- 160 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#! /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]