diff --git a/packages/sol-compiler/src/utils/compiler.ts b/packages/sol-compiler/src/utils/compiler.ts index 7040427c8f..317a520fe0 100644 --- a/packages/sol-compiler/src/utils/compiler.ts +++ b/packages/sol-compiler/src/utils/compiler.ts @@ -172,7 +172,7 @@ export async function compileDockerAsync( 'solc', '--standard-json', ]; return new Promise((accept, reject) => { - const p = spawn('docker', dockerArgs, { shell: true, stdio: ['pipe', 'inherit', 'inherit'] }); + const p = spawn('docker', dockerArgs, { shell: true, stdio: ['pipe', 'pipe', 'inherit'] }); p.stdin.write(standardInputStr); p.stdin.end(); let fullOutput = '';