Home
last modified time | relevance | path

Searched refs:getstatusoutput (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython2/Doc/library/
Dcommands.rst29 :func:`getstatusoutput` and :func:`getoutput` have been moved to the
35 .. function:: getstatusoutput(cmd)
46 Like :func:`getstatusoutput`, except the exit status is ignored and the return
58 presence of :func:`getstatusoutput`.
64 >>> commands.getstatusoutput('ls /bin/ls')
66 >>> commands.getstatusoutput('cat /bin/junk')
68 >>> commands.getstatusoutput('/bin/junk')
/external/selinux/sandbox/
Dstart3 from subprocess import getstatusoutput
5 from commands import getstatusoutput
9 rc = getstatusoutput(sys.argv[1])
/external/selinux/gui/
DmodulesPage.py22 from subprocess import getstatusoutput
24 from commands import getstatusoutput
132 status, output = getstatusoutput("semodule -X %s -r %s" % (priority, module))
148 status, output = getstatusoutput("semodule -DB")
151 status, output = getstatusoutput("semodule -B")
164 status, output = getstatusoutput("semodule -B")
197 status, output = getstatusoutput("semodule -i %s" % file)
DusersPage.py21 from subprocess import getstatusoutput
23 from commands import getstatusoutput
114 (rc, out) = getstatusoutput("semanage user -a -R '%s' -r %s %s" % (roles, range, user))
130 (rc, out) = getstatusoutput("semanage user -m -R '%s' -r %s %s" % (roles, range, user))
146 (rc, out) = getstatusoutput("semanage user -d %s" % user)
DdomainsPage.py21 from subprocess import getstatusoutput
23 from commands import getstatusoutput
127 status, output = getstatusoutput("semanage permissive -d %s_t" % domain)
152 status, output = getstatusoutput("semanage permissive -a %s_t" % domain)
DloginsPage.py21 from subprocess import getstatusoutput
23 from commands import getstatusoutput
139 (rc, out) = getstatusoutput("semanage login -d %s" % login)
158 (rc, out) = getstatusoutput("semanage login -a -s %s -r %s %s" % (seuser, serange, target))
178 (rc, out) = getstatusoutput("semanage login -m -s %s -r %s %s" % (seuser, serange, target))
DbooleansPage.py30 from subprocess import getstatusoutput
32 from commands import getstatusoutput
180 (rc, out) = getstatusoutput("semanage boolean -d %s" % boolean)
231 rc, out = getstatusoutput(setsebool)
240 getstatusoutput(setsebool)
DfcontextPage.py22 from subprocess import getstatusoutput
24 from commands import getstatusoutput
185 …(rc, out) = getstatusoutput("semanage fcontext -d -f '%s' '%s'" % (seobject.file_type_str_to_optio…
203 …(rc, out) = getstatusoutput("semanage fcontext -a -t %s -r %s -f '%s' '%s'" % (type, mls, seobject…
222 …(rc, out) = getstatusoutput("semanage fcontext -m -t %s -r %s -f '%s' '%s'" % (type, mls, seobject…
DportsPage.py29 from subprocess import getstatusoutput
31 from commands import getstatusoutput
197 (rc, out) = getstatusoutput("semanage port -d -p %s %s" % (protocol, port))
220 …(rc, out) = getstatusoutput("semanage port -a -p %s -r %s -t %s %s" % (protocol, mls, target, port…
240 …(rc, out) = getstatusoutput("semanage port -m -p %s -r %s -t %s %s" % (protocol, mls, target, port…
/external/vixl/tools/
Dgit.py34 status, toplevel = util.getstatusoutput(command)
41 status, tracked = util.getstatusoutput(command)
49 status, output = util.getstatusoutput('git status -s')
Dgenerate_simulator_traces.py142 status, test_list = util.getstatusoutput(args.runner + ' --list')
169 status, output = util.getstatusoutput(cmd)
219 status, output = util.getstatusoutput(cmd)
Dgenerate_test_trace_a64_reference.py56 status, output = util.getstatusoutput(args.runner + ' --list')
68 status, output = util.getstatusoutput(cmd)
Dutil.py50 def getstatusoutput(command): function
60 retcode, unused_output = getstatusoutput('which %s' % command)
71 rc, out = getstatusoutput('which %s' % program_name)
Dclang_tidy.py67 rc, version = util.getstatusoutput(cmd)
100 rc, p_out = util.getstatusoutput(cmd)
Dknown_test_failures.py32 rc, output = util.getstatusoutput('valgrind --version')
Dtest_runner.py39 rc, output = util.getstatusoutput(cmd)
Dclang_format.py77 rc, version = util.getstatusoutput(cmd)
Dlint.py192 retcode, unused_output = util.getstatusoutput('which cpplint.py')
/external/selinux/python/sepolicy/sepolicy/
Dinterface.py195 from commands import getstatusoutput
197 from subprocess import getstatusoutput
200 …rc, output = getstatusoutput("/usr/bin/python3 /usr/share/selinux/devel/include/support/segenxml.p…
214 from commands import getstatusoutput
216 from subprocess import getstatusoutput
227 … rc, output = getstatusoutput("make -f /usr/share/selinux/devel/Makefile %s" % policy_files['pp'])
Dmanpage.py166 from commands import getstatusoutput
168 from subprocess import getstatusoutput
169 rc, output = getstatusoutput("/usr/bin/groff -man -Thtml %s 2>/dev/null" % manpage)
/external/python/cpython2/Lib/
Dcommands.py50 return getstatusoutput(cmd)[1]
56 def getstatusoutput(cmd): function
/external/python/cpython2/Lib/test/
Dtest_commands.py28 self.assertEqual(commands.getstatusoutput('echo xyzzy'), (0, 'xyzzy'))
38 status, output = commands.getstatusoutput('cat ' + name)
/external/selinux/python/sepolgen/src/sepolgen/
Dmodule.py28 from subprocess import getstatusoutput
30 from commands import getstatusoutput
136 rc, output = getstatusoutput(command)
/external/jsoncpp/
Ddoxybuild.py54 def getstatusoutput(cmd): function
73 status, output = getstatusoutput(cmd)
/external/webrtc/tools_webrtc/sslroots/
Dgenerate_sslroots.py149 output = subprocess.getstatusoutput(command)[1]

12