diff --git a/apps/remixdesktop/src/plugins/scriptRunner.ts b/apps/remixdesktop/src/plugins/scriptRunner.ts index e53c485675..64f1dc7a96 100644 --- a/apps/remixdesktop/src/plugins/scriptRunner.ts +++ b/apps/remixdesktop/src/plugins/scriptRunner.ts @@ -46,7 +46,7 @@ class ScriptRunnerClient extends ElectronBasePluginClient { async execute(content: string, dir: string): Promise { this.call('terminal' as any, 'log', this.workingDir) - const child = utilityProcess.fork(path.join(__dirname,'/../tools/yarn/bin/', 'yarn.js'), [`--cwd=${this.workingDir}`, 'init -y'], { + const child = utilityProcess.fork(path.join(__dirname,'/../tools/yarn/bin/', 'yarn.js'), [`--cwd=${this.workingDir}`], { stdio: 'pipe', }) child && child.stdout && child.stdout.on('data', (data) => {