Lines Matching refs:def
58 def _string_from_args(self, args, limit=100):
65 def __init__(self,
84 def message_with_output(self, output_limit=500):
92 def command_name(self):
99 def run_command(*args, **kwargs):
107 def _should_close_fds(self):
115 def _run_command_with_teed_output(self, args, teed_output):
142 def run_and_throw_if_fail(self, args, quiet=False, decode_output=True):
166 def cpu_count(self):
184 def interpreter_for_script(script_path, fs=FileSystem()):
199 def kill_process(self, pid):
229 def _win32_check_running_pid(self, pid):
265 def check_running_pid(self, pid):
278 def _windows_image_name(self, process_name):
286 def kill_all(self, process_name):
310 def default_error_handler(error):
314 def ignore_error(error):
317 def _compute_stdin(self, input):
336 def _command_for_printing(self, args):
349 def run_command(self,
395 def _child_process_encoding(self):
407 def _should_encode_child_process_arguments(self):
421 def _encode_argument_if_needed(self, argument):