CLI/debug: Don't log process output to console by default (only with -v/--verbose)

This commit is contained in:
n00mkrad
2025-12-21 18:30:03 +01:00
parent 1d08960203
commit aed095f88b
7 changed files with 16 additions and 22 deletions

View File

@@ -185,7 +185,7 @@ namespace Flowframes
// Logger.Log($"Disk space check for '{drivePath}/': {spaceGb} GB free, next check in {nextWaitTimeMs / 1024} sec", true);
if (!Interpolate.canceled && OsUtils.IsStillRunning(() => AiProcess.lastAiProcess) && lowDiskSpace)
if (!Interpolate.canceled && (AiProcess.lastAiProcess != null && !AiProcess.lastAiProcess.HasExited) && lowDiskSpace)
{
if (tooLowDiskSpace)
{