ugh! improvements AGAIN?

This commit is contained in:
2026-04-06 10:24:50 +02:00
parent c9dc6082dd
commit 0bfe77f4ef
12 changed files with 55 additions and 89 deletions
+1 -3
View File
@@ -51,9 +51,7 @@ async function connect() {
const cfgPath = path.resolve(librariesDir, 'frpc.toml');
await fs.writeFile(cfgPath, cfg);
const child = spawn(frpcPath, ['-c', cfgPath]);
process.on('exit', () => {
child.kill();
});
process.on('exit', () => child.kill());
const rl = readline.createInterface({
input: child.stdout,