diff --git a/src/dnaapler/utils/external_tools.py b/src/dnaapler/utils/external_tools.py index 08eecc1..c71072d 100644 --- a/src/dnaapler/utils/external_tools.py +++ b/src/dnaapler/utils/external_tools.py @@ -46,14 +46,13 @@ def _build_command(tool: str, input: str, output: str, params: str) -> List[str] def run(self) -> None: with open(self.out_log, "w") as stdout_fh, open(self.err_log, "w") as stderr_fh: - print(f"Command line: {self.command_as_str}", file=stderr_fh) logger.info(f"Started running {self.command_as_str} ...") self._run_core(self.command, stdout_fh=stdout_fh, stderr_fh=stderr_fh) logger.info(f"Done running {self.command_as_str}") @staticmethod def _run_core(command: List[str], stdout_fh, stderr_fh) -> None: - subprocess.check_call(command, stdout=stdout_fh, stderr=stderr_fh) + subprocess.call(command, stdout=stdout_fh, stderr=stderr_fh) @staticmethod def run_tools(