Searched refs:getoutput (Results 1 – 23 of 23) sorted by relevance
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)
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')
109 output = commands.getoutput('gdb -c %s batch' % path)145 backtrace = commands.getoutput(gdb_cmd)
1675 keyval_lines = commands.getoutput(r"grep -h '\b%s\b.*=' %s"
27 self.assertEqual(commands.getoutput('echo xyzzy'), 'xyzzy')
128 output = commands.getoutput(
34 s = commands.getoutput('ps -w ' + option)
49 s = commands.getoutput('ps %s %s' % (view, format))
411 vendor_hook = subprocess.getoutput('rpm --eval %{__os_install_post}')
236 from six.moves import getoutput237 output = getoutput('echo "foo"')
20 - Pull request #167: Add `six.moves.getoutput`.
29 version = commands.getoutput('%s -dumpversion' %CXX)
588 | ``getoutput`` | :func:`py2:commands.getoutput` | :func:`py3:subprocess.getout…
595 def getoutput(cmd): function
711 glibc_ver = commands.getoutput('ldd --version').splitlines()[0]
1346 .. function:: getoutput(cmd)1353 >>> subprocess.getoutput('ls /bin/ls')
3135 self.assertEqual(subprocess.getoutput('echo xyzzy'), 'xyzzy')
16716 - The ``commands`` module has been removed. Its getoutput() and