diff --git a/packages/safe-chain/src/registryProxy/ramaProxy/createRamaProxy.js b/packages/safe-chain/src/registryProxy/ramaProxy/createRamaProxy.js index 3c7b50a..b6a4988 100644 --- a/packages/safe-chain/src/registryProxy/ramaProxy/createRamaProxy.js +++ b/packages/safe-chain/src/registryProxy/ramaProxy/createRamaProxy.js @@ -72,12 +72,8 @@ export function createRamaProxy(ramaPath) { async function startRama(ramaPath, dataFolder) { const startTime = Date.now(); const args = ["--secrets", "memory", "--data", dataFolder]; - const process = - getLoggingLevel() === LOGGING_VERBOSE - ? spawn(ramaPath, args, { - stdio: "inherit", - }) - : spawn(ramaPath, args); + const stdio = LOGGING_VERBOSE ? "inherit" : "pipe"; + const process = spawn(ramaPath, args, { stdio: stdio }); // wait for the proxy process to start (poll for proxy.addr.txt file) const proxyAddrPath = join(dataFolder, "proxy.addr.txt");