Home
last modified time | relevance | path

Searched refs:getstatusoutput (Results 1 – 25 of 32) 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
130 status, output = getstatusoutput("semodule -r %s" % module)
146 status, output = getstatusoutput("semodule -DB")
149 status, output = getstatusoutput("semodule -B")
162 status, output = getstatusoutput("semodule -B")
195 status, output = getstatusoutput("semodule -i %s" % file)
DusersPage.py21 from subprocess import getstatusoutput
23 from commands import getstatusoutput
113 (rc, out) = getstatusoutput("semanage user -a -R '%s' -r %s %s" % (roles, range, user))
129 (rc, out) = getstatusoutput("semanage user -m -R '%s' -r %s %s" % (roles, range, user))
145 (rc, out) = getstatusoutput("semanage user -d %s" % user)
DdomainsPage.py21 from subprocess import getstatusoutput
23 from commands import getstatusoutput
126 status, output = getstatusoutput("semanage permissive -d %s_t" % domain)
151 status, output = getstatusoutput("semanage permissive -a %s_t" % domain)
DloginsPage.py21 from subprocess import getstatusoutput
23 from commands import getstatusoutput
138 (rc, out) = getstatusoutput("semanage login -d %s" % login)
157 (rc, out) = getstatusoutput("semanage login -a -s %s -r %s %s" % (seuser, serange, target))
177 (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
179 (rc, out) = getstatusoutput("semanage boolean -d %s" % boolean)
230 rc, out = getstatusoutput(setsebool)
239 getstatusoutput(setsebool)
DfcontextPage.py22 from subprocess import getstatusoutput
24 from commands import getstatusoutput
177 …(rc, out) = getstatusoutput("semanage fcontext -d -f '%s' '%s'" % (seobject.file_type_str_to_optio…
195 …(rc, out) = getstatusoutput("semanage fcontext -a -t %s -r %s -f '%s' '%s'" % (type, mls, seobject…
214 …(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
196 (rc, out) = getstatusoutput("semanage port -d -p %s %s" % (protocol, port))
219 …(rc, out) = getstatusoutput("semanage port -a -p %s -r %s -t %s %s" % (protocol, mls, target, port…
239 …(rc, out) = getstatusoutput("semanage port -m -p %s -r %s -t %s %s" % (protocol, mls, target, port…
/external/selinux/python/sepolicy/sepolicy/
Dinterface.py194 from commands import getstatusoutput
196 from subprocess import getstatusoutput
199 …rc, output = getstatusoutput("python /usr/share/selinux/devel/include/support/segenxml.py -w -m %s…
213 from commands import getstatusoutput
215 from subprocess import getstatusoutput
226 … rc, output = getstatusoutput("make -f /usr/share/selinux/devel/Makefile %s" % policy_files['pp'])
D__init__.py866 from commands import getstatusoutput
868 from subprocess import getstatusoutput
879 print(getstatusoutput("/usr/bin/sepolgen-ifgen")[1])
1216 from commands import getstatusoutput
1218 from subprocess import getstatusoutput
1219 rc, output = getstatusoutput("rpm -q '%s'" % pkg_name)
Dmanpage.py171 from commands import getstatusoutput
173 from subprocess import getstatusoutput
174 rc, output = getstatusoutput("/usr/bin/groff -man -Thtml %s 2>/dev/null" % manpage)
/external/vixl/tools/
Dgit.py34 status, toplevel = util.getstatusoutput(command)
41 status, tracked = util.getstatusoutput(command)
49 status, output = util.getstatusoutput('git status -s')
Dutil.py48 def getstatusoutput(command, shell=False): function
58 retcode, unused_output = getstatusoutput('which %s' % command)
69 rc, out = getstatusoutput('which %s' % program_name)
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)
Dknown_test_failures.py32 rc, output = util.getstatusoutput('valgrind --version')
Dthreaded_tests.py47 rc, output = util.getstatusoutput(runner + ' --list')
Dlint.py188 retcode, unused_output = util.getstatusoutput('which cpplint.py')
/external/autotest/client/site_tests/hardware_Keyboard/
Dhardware_Keyboard.py37 (status, output) = commands.getstatusoutput(cmd)
51 (status, output) = commands.getstatusoutput(cmd)
72 (status, output) = commands.getstatusoutput(cmd)
/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/autotest/client/site_tests/build_RootFilesystemSize/
Dbuild_RootFilesystemSize.py33 (status, output) = commands.getstatusoutput(
/external/webrtc/tools/sslroots/
Dgenerate_sslroots.py134 output = commands.getstatusoutput(command)[1]

12