Skip to content

fix(worktree): use login-shell PATH when running setup scripts#29

Merged
aletc1 merged 1 commit intodevfrom
claude/inspiring-beaver-7bd1e6
Apr 20, 2026
Merged

fix(worktree): use login-shell PATH when running setup scripts#29
aletc1 merged 1 commit intodevfrom
claude/inspiring-beaver-7bd1e6

Conversation

@aletc1
Copy link
Copy Markdown
Owner

@aletc1 aletc1 commented Apr 20, 2026

Setup commands (bun install, etc.) failed in Electron GUI launches because process.env.PATH is stripped. Resolve the full shell env via getShellEnvironment() before exec(), matching the pattern already used by getGitEnv() in worktree.ts.

Setup commands (bun install, etc.) failed in Electron GUI launches
because process.env.PATH is stripped. Resolve the full shell env via
getShellEnvironment() before exec(), matching the pattern already used
by getGitEnv() in worktree.ts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@aletc1 aletc1 merged commit f02a20d into dev Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant