fix(hlcc): stop archive and log growth
This commit is contained in:
parent
4f332eccfc
commit
0575da8a0d
3 changed files with 10 additions and 3 deletions
|
|
@ -493,8 +493,6 @@ def bootstrap() -> None:
|
|||
if custom_source.is_dir():
|
||||
shutil.copytree(custom_source, custom_target, dirs_exist_ok=True)
|
||||
set_status(stage="launching")
|
||||
log_path = STATE_ROOT / "logs" / "hlcc.log"
|
||||
log_handle = log_path.open("ab", buffering=0)
|
||||
process = subprocess.Popen(
|
||||
[
|
||||
str(binary),
|
||||
|
|
@ -504,7 +502,7 @@ def bootstrap() -> None:
|
|||
"--config",
|
||||
str(config_target),
|
||||
],
|
||||
stdout=log_handle,
|
||||
stdout=None,
|
||||
stderr=subprocess.STDOUT,
|
||||
)
|
||||
wait_for_candidate(process)
|
||||
|
|
|
|||
Loading…
Reference in a new issue