@ekkos/cli 1.2.6 → 1.2.7
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/dist/commands/run.js +2 -1
- package/package.json +1 -1
package/dist/commands/run.js
CHANGED
|
@@ -912,10 +912,11 @@ function launchWithWindowsTerminal(options) {
|
|
|
912
912
|
if (options.noProxy)
|
|
913
913
|
runArgs.push('--skip-proxy');
|
|
914
914
|
// Write a temp batch file to avoid all quoting issues
|
|
915
|
+
// wt.exe doesn't resolve PATH for npm global bins — must use `cmd /c`
|
|
915
916
|
const batPath = path.join(os.tmpdir(), `ekkos-wt-${launchTime}.cmd`);
|
|
916
917
|
const batContent = [
|
|
917
918
|
'@echo off',
|
|
918
|
-
`wt --title "Claude Code" -d "${cwd}" ekkos ${runArgs.join(' ')} ; split-pane -V -s 0.4 --title "ekkOS Dashboard" -d "${cwd}" ekkos dashboard --wait-for-new --refresh 2000`,
|
|
919
|
+
`wt --title "Claude Code" -d "${cwd}" cmd /c ekkos ${runArgs.join(' ')} ; split-pane -V -s 0.4 --title "ekkOS Dashboard" -d "${cwd}" cmd /c ekkos dashboard --wait-for-new --refresh 2000`,
|
|
919
920
|
].join('\r\n');
|
|
920
921
|
try {
|
|
921
922
|
fs.writeFileSync(batPath, batContent);
|