@devries-cameron20 / t3code Mirror · read-only / commits / 4fff00c8c3
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 25, 18:30 UTC

run backend as node

Julius Marminge committed Feb 13, 2026 at 00:19 UTC 4fff00c8c3bed8864530d31617fb45e4788b9d83
1 file changed +6 -1
apps/desktop/src/main.ts
+6 -1
@@ -83,7 +83,12 @@ function startBackend(): void {
83
84 const child = spawn(process.execPath, [BACKEND_ENTRY], {
85 cwd: ROOT_DIR,
86 - env: backendEnv(),
86 + // In Electron main, process.execPath points to the Electron binary.
87 + // Run the child in Node mode so this backend process does not become a GUI app instance.
88 + env: {
89 + ...backendEnv(),
90 + ELECTRON_RUN_AS_NODE: "1",
91 + },
92 stdio: "inherit",
93 });
94 backendProcess = child;