(self, command, working_directory)
| 27 | super().__init__(command, working_directory, all_env_variables) |
| 28 | |
| 29 | def start_execution(self, command, working_directory): |
| 30 | shell = False |
| 31 | |
| 32 | if os_utils.is_win(): |
| 33 | (command, shell) = prepare_cmd_for_win(command) |
| 34 | |
| 35 | env_variables = self.prepare_env_variables() |
| 36 | |
| 37 | self.process = subprocess.Popen(command, |
| 38 | cwd=working_directory, |
| 39 | stdin=subprocess.PIPE, |
| 40 | stdout=subprocess.PIPE, |
| 41 | stderr=subprocess.STDOUT, |
| 42 | start_new_session=True, |
| 43 | universal_newlines=True, |
| 44 | shell=shell, |
| 45 | env=env_variables, |
| 46 | errors='replace') |
| 47 | |
| 48 | def write_to_input(self, value): |
| 49 | if self.is_finished(): |
nothing calls this directly
no test coverage detected