# HG changeset patch # User Edouard Tisserant # Date 1629536529 -7200 # Node ID 7e59bd180bc6ed309d48b7a97f53db8a798d1587 # Parent 3bcd5ec67521e7dd2eb29a7bf0cb05a22238df14 IDE: systematically log command when launching process (was not showing in case of LOCAL:// runtime being launched) diff -r 3bcd5ec67521 -r 7e59bd180bc6 util/ProcessLogger.py --- a/util/ProcessLogger.py Sat Aug 21 10:54:13 2021 +0200 +++ b/util/ProcessLogger.py Sat Aug 21 11:02:09 2021 +0200 @@ -139,6 +139,9 @@ else: self.timeout = None + if _debug: + self.logger.write("(DEBUG) launching:\n" + self.Command_str + "\n") + self.Proc = subprocess.Popen(self.Command, **popenargs) self.outt = outputThread( @@ -191,7 +194,7 @@ if self.timeout: self.timeout.cancel() self.exitcode = ecode - if _debug or self.exitcode != 0: + if self.exitcode != 0: self.log_the_end(ecode, pid) if self.finish_callback is not None: self.finish_callback(self, ecode, pid)