D | cmd_helper.py | 2 # Use of this source code is governed by a BSD-style license that can be 21 _SafeShellChars = frozenset(string.ascii_letters + string.digits + '@%_-+=:,./') 25 """Return an shell-escaped version of the string using single quotes. 43 """Return an shell-escaped version of the string using double quotes. 91 def Popen(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument 102 shell=shell, close_fds=close_fds, env=env, preexec_fn=preexec_fn) 105 def Call(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument 107 env=env) 118 cwd: If not None, the subprocess's current directory will be changed to 128 def GetCmdOutput(args, cwd=None, shell=False, env=None): argument [all …]
|