diff --git a/src/run.ts b/src/run.ts deleted file mode 100644 index b91079d3..00000000 --- a/src/run.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { spawn } from 'node:child_process' - -export function runCode(filename: string, { args }: { args: string[] }) { - const cmd = spawn('node', [filename, ...args], { - stdio: 'inherit', - }) - cmd.on('exit', (code) => { - process.exitCode = code || 0 - }) -}