fix: drain stdout to prevent pipe buffer from blocking the process

This commit is contained in:
SaelixCode
2026-03-03 12:54:21 -05:00
parent ccf6ed4bc8
commit 63d2df2436
+1
View File
@@ -55,6 +55,7 @@ export class ComposeService {
} else {
// Without WS, just wait for resolution
let stderr = '';
child.stdout.on('data', () => { }); // Drain stdout to prevent pipe buffer from blocking the process
child.stderr.on('data', (data: Buffer) => { stderr += data.toString(); });
child.on('close', (code: number | null) => {