xiaozuoassistant 0.1.61 → 0.1.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +1 -1
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -631,7 +631,7 @@ if (command === 'start') {
|
|
|
631
631
|
const out = fs.openSync(outLog, 'a');
|
|
632
632
|
const err = fs.openSync(errLog, 'a');
|
|
633
633
|
|
|
634
|
-
const child = spawn(
|
|
634
|
+
const child = spawn(process.execPath, [serverPath, ...args.slice(1)], {
|
|
635
635
|
detached: true, // Allow child to run independently
|
|
636
636
|
stdio: ['ignore', out, err], // Disconnect stdin, redirect stdout/stderr
|
|
637
637
|
cwd: APP_HOME, // Run in unified app home
|
package/package.json
CHANGED