Closed xilun closed 8 years ago
If I do it I guess I'll go for the cwd of outbash.exe
Or maybe mimic bash.exe and use %HOMEPATH% if one launches e.g. wcmd ~ command
hm, I forgot that the shell expands ~, so I'll use ':' as a replacement character... (because it is forbidden in windows filenames, and is a normal character for bash)
Commit d28286e does the trick.
Use either HOMEPATH or just the cwd of outbash.exe in this case. This is probably only useful for wstart, and not wrun/wcmd.