Confirmation
Version of Nimble Commander
MacOs 26.2 (25C56), NC Version 1.8.0 (4285)
Distribution Type
Downloaded from GitHub (nightly and test workflows)
Expected Result
After returning from the Terminal view, the active panel remains in the directory that was active immediately before the External Tool was executed.
Actual Result
After returning from the Terminal view, the active panel is restored to the directory that was active during the first execution of this tool, not the directory that was active before the current execution.
This happens consistently when the same External Tool is run multiple times.
Steps to reproduce
1. Open Nimble Commander with two panels.
2. In the active panel, navigate to any directory.
3. Run an External Tool configured with Run in Terminal.
4. Return to panels using the standard hotkey.
5. Navigate the same active panel to a different directory.
6. Run the same External Tool again.
7. Return to panels.
Additional Information
The External Tool receives the correct active panel directory via the %r parameter.
• The tool script explicitly changes its working directory to %r using cd.
• Logging inside the tool confirms that the process working directory is correct for the entire duration of execution.
Example log output:
CWD start: /Users/apple/Desktop/test
...
CWD end: /Users/apple/Desktop/test
Using Run Detached prevents the panel directory from changing, but tool output is not visible in that mode.
• The issue occurs only when using Run in Terminal and returning from the Terminal view.
Confirmation
Version of Nimble Commander
MacOs 26.2 (25C56), NC Version 1.8.0 (4285)
Distribution Type
Downloaded from GitHub (nightly and test workflows)
Expected Result
After returning from the Terminal view, the active panel remains in the directory that was active immediately before the External Tool was executed.
Actual Result
After returning from the Terminal view, the active panel is restored to the directory that was active during the first execution of this tool, not the directory that was active before the current execution.
This happens consistently when the same External Tool is run multiple times.
Steps to reproduce
Additional Information
The External Tool receives the correct active panel directory via the %r parameter.
• The tool script explicitly changes its working directory to %r using cd.
• Logging inside the tool confirms that the process working directory is correct for the entire duration of execution.
Example log output:
CWD start: /Users/apple/Desktop/test
...
CWD end: /Users/apple/Desktop/test
Using Run Detached prevents the panel directory from changing, but tool output is not visible in that mode.
• The issue occurs only when using Run in Terminal and returning from the Terminal view.