summaryrefslogtreecommitdiff
path: root/tools/warn/java_warn_patterns.py
diff options
context:
space:
mode:
author Regnier, Philippe <philippe.regnier@intel.com> 2019-05-22 10:10:57 +0800
committer Xihua Chen <xihua.chen@intel.com> 2019-07-11 17:05:17 +0800
commit2f7e11ef27bc00108088eb2b0f5a5d9cc605afdd (patch)
tree0e5d096185f78b277c5547450e03ea431239b7fd /tools/warn/java_warn_patterns.py
parent40b5340a94bc3199a28b99e5d1c997442f5322e0 (diff)
logging: set stdout and stderr to None in some cases
For very long processes, we might want to keep stdout and stderr by default to None. So no redirection will occur in the child process as explained in: https://docs.python.org/2/library/subprocess.html That will result in the child process stdin and stderr to be same than in common.py and avoid to have the logs blocked during the child process execution and flushed only when child process terminates. Since the logs are continously displayed, it allows to easily confirm that the process is not blocked. Bug: 133380588 Test: generate iota & Check that the logs are not blocked. Change-Id: I6d6cb56547bf3a4a4334dfa22b6b2b05d2c36a5e Signed-off-by: Regnier, Philippe <philippe.regnier@intel.com>
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions