fix: enable detached children for Linux in dev scripts (#1483)

This commit is contained in:
Tom Rochette
2026-06-03 12:31:34 +03:00
committed by GitHub
parent 6fd46ded3a
commit e120a379f9
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const repoRoot = path.resolve(__dirname, '..');
const extensionPath = path.join(repoRoot, 'packages', 'vscode');
const useDetachedChildren = process.platform === 'darwin';
const useDetachedChildren = process.platform === 'darwin' || process.platform === 'linux';
const codeBin = process.env.OPENCHAMBER_VSCODE_BIN || 'code';
const workspaceArg = process.argv[2] || process.env.OPENCHAMBER_VSCODE_DEV_WORKSPACE || repoRoot;
+1 -1
View File
@@ -6,7 +6,7 @@ import { fileURLToPath } from 'node:url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const repoRoot = path.resolve(__dirname, '..');
const useDetachedChildren = process.platform === 'darwin';
const useDetachedChildren = process.platform === 'darwin' || process.platform === 'linux';
function run(label, command, args, options = {}) {
const child = spawn(command, args, {
+1 -1
View File
@@ -8,7 +8,7 @@ import { fileURLToPath } from 'node:url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const repoRoot = path.resolve(__dirname, '..');
const useDetachedChildren = process.platform === 'darwin';
const useDetachedChildren = process.platform === 'darwin' || process.platform === 'linux';
const webRoot = path.join(repoRoot, 'packages/web');
const quoteWindowsCommandArg = (value) => `"${String(value).replace(/"/g, '""')}"`;