Home
last modified time | relevance | path

Searched refs:getstatusoutput (Results 1 – 25 of 36) 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
131 status, output = getstatusoutput("semodule -X %s -r %s" % (priority, module))
147 status, output = getstatusoutput("semodule -DB")
150 status, output = getstatusoutput("semodule -B")
163 status, output = getstatusoutput("semodule -B")
196 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))
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…
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)
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/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)
/external/selinux/python/sepolicy/sepolicy/
Dinterface.py194 from commands import getstatusoutput
196 from subprocess import getstatusoutput
199 …rc, output = getstatusoutput("/usr/bin/python3 /usr/share/selinux/devel/include/support/segenxml.p…
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__.py865 from commands import getstatusoutput
867 from subprocess import getstatusoutput
878 print(getstatusoutput("/usr/bin/sepolgen-ifgen")[1])
1215 from commands import getstatusoutput
1217 from subprocess import getstatusoutput
1218 rc, output = getstatusoutput("rpm -q '%s'" % pkg_name)
/external/autotest/client/site_tests/hardware_Keyboard/
Dhardware_Keyboard.py36 (status, output) = commands.getstatusoutput(cmd)
50 (status, output) = commands.getstatusoutput(cmd)
71 (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/llvm-project/lldb/packages/Python/lldbsuite/support/
Dseven.py7 get_command_status_output = commands.getstatusoutput
/external/jsoncpp/
Ddoxybuild.py54 def getstatusoutput(cmd): function
73 status, output = getstatusoutput(cmd)
/external/llvm-project/lldb/scripts/
Dverify_api.py14 (command_exit_status, command_output) = subprocess.getstatusoutput(command)

12