You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verified on dev branch (commit b1841ac). WSL profile detection now uses two-stage approach: 1) ID prefix check for built-in WSL profiles, 2) command path check for user-defined WSL profiles (checks for wsl.exe in options.command). CWD is injected via --cd arg for WSL profiles, bypassing Windows fs.existsSync validation that would reject Linux paths. Code review confirmed fix is correct. Live testing confirmed CWD mechanism works (non-existent paths correctly fall back to default, existing paths are passed through options.cwd).
Activity
halilc4 commentedon Feb 20, 2026
Verified on dev branch (commit b1841ac). WSL profile detection now uses two-stage approach: 1) ID prefix check for built-in WSL profiles, 2) command path check for user-defined WSL profiles (checks for wsl.exe in options.command). CWD is injected via --cd arg for WSL profiles, bypassing Windows fs.existsSync validation that would reject Linux paths. Code review confirmed fix is correct. Live testing confirmed CWD mechanism works (non-existent paths correctly fall back to default, existing paths are passed through options.cwd).
Fix WSL CWD for user-defined profiles (#12)