Searched refs:getoutput (Results 1 – 25 of 27) sorted by relevance
12
19 u = subprocess.getoutput('mkdir ' + path + "/" + testdir)20 u = subprocess.getoutput('getfacl ' + path + "/" + testdir)28 u = subprocess.getoutput('touch ' + path + "/" + testdir + testfile)30 u = subprocess.getoutput('getfacl ' + path + "/" + testdir + testfile)59 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + test_file)72 u = subprocess.getoutput('touch ' + path + "/" + testfile)77 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + testfile)88 u = subprocess.getoutput('rm ' + path + "/*") # clean directory96 u = subprocess.getoutput('touch ' + path + "/" + testfile)101 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + testfile)[all …]
34 u = subprocess.getoutput('/usr/sbin/useradd '+ opts)41 u = subprocess.getoutput('touch ' + path + '/'+ fName)45 u = subprocess.getoutput('/usr/sbin/groupadd -g' + gid + " " + grpname)65 u = subprocess.getoutput('/usr/sbin/userdel -r '+ name)71 u = subprocess.getoutput('/usr/sbin/groupdel '+ name[0])90 u = subprocess.getoutput('ls ' + path)215 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + file)219 u = subprocess.getoutput('setfacl -m g:' + group + ':' + mode + " " + path + "/" + file)223 u = subprocess.getoutput('setfacl -x u:' + user + " " + path + "/" + file)227 u = subprocess.getoutput('setfacl -x g:' + group + " " + path + "/" + file)
23 u = subprocess.getoutput('rm ' + path + "/*") # clean directory28 u = subprocess.getoutput('touch ' + path + "/" + testfile)33 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + testfile)
114 from commands import getoutput116 from subprocess import getoutput131 info = getoutput('kde-config --version')164 info = getoutput('xprop -root _DT_SAVE_MODE')
29 :func:`getstatusoutput` and :func:`getoutput` have been moved to the44 .. function:: getoutput(cmd)53 :func:`getoutput` function, and properly escapes backslashes and dollar signs in70 >>> commands.getoutput('ls /bin/ls')
41 return getoutput('ls -ld' + mkarg(file))48 def getoutput(cmd): function
125 info = commands.getoutput('kde-config --version')158 info = commands.getoutput('xprop -root _DT_SAVE_MODE')
123 output = commands.getoutput('gdb -c %s batch' % path)159 backtrace = commands.getoutput(gdb_cmd)
1678 keyval_lines = subprocess.getoutput(r"grep -h '\b%s\b.*=' %s"
6 get_command_output = commands.getoutput
27 self.assertEqual(commands.getoutput('echo xyzzy'), 'xyzzy')
128 output = commands.getoutput(
130 output = commands.getoutput(
19 xcode_dir = commands.getoutput("xcode-select --print-path")
34 s = commands.getoutput('ps -w ' + option)
49 s = commands.getoutput('ps %s %s' % (view, format))
407 vendor_hook = subprocess.getoutput('rpm --eval %{__os_install_post}')
306 output = subprocess.getoutput(self.command).split("\n")[-1]
236 from six.moves import getoutput237 output = getoutput('echo "foo"')
20 - Pull request #167: Add `six.moves.getoutput`.
588 | ``getoutput`` | :func:`py2:commands.getoutput` | :func:`py3:subprocess.getout…
633 def getoutput(cmd): function
1440 .. function:: getoutput(cmd)1447 >>> subprocess.getoutput('ls /bin/ls')
606 print >>result, (commands.getoutput('/bin/ls %s' % command))
156 hdrs=subprocess.getoutput("/usr/bin/dump -o %s" % sys.executable)