adamyg / mcwin32

Midnight Commander for Windows
https://sourceforge.net/projects/mcwin32/
210 stars 14 forks source link

MC on Windows 11 / PowerShell, wrong folder after exit. #80

Closed PiotrKuzdowicz closed 6 months ago

PiotrKuzdowicz commented 7 months ago

I am using the latest version of midnight commander. I added it to the environment variables after installation in the C:/Program Files folder. After starting PowerShell, everything works fine, but the F10 output from MC returns to the folder in which it was initialized, e.g.

1: C:\ 2: month 3: Navigate to C:\Test\ 4:F10 5: I'm still in C:\

adamyg commented 7 months ago

Don't believe there is a portable method of changing the current working directory of another process/child.

adamyg commented 6 months ago

see: https://github.com/adamyg/mcwin32/issues/69