Re: Expectations for subshell

mi via mc <[email protected]> Mon, 22 Jan 2024 19:57:23 +0100
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>

> > Could it be done, that if a command is started running in /a, and the
> > user navigates to /b in panels, hits Ctrl-O twice to check the terminal,
> > the /b is preserved? That is, the panels remember the cwd and it's only
> > propagated to the subshell after the command has completed?

Oh i have to apologize, i did not understand what you meant from the beginning

>>> 3. when I enter subshell again, the directory that I've changed while
>>>    navigating in the panels is lost, and I'm put back into the original
>>>    directory the command was executed from.

I've understood it in the way of /b 'losing' the cwd's of a/ or in other words, while command in /b is running, its pwd does not get updated from /a. Which apparently is normal behavior.


So now i understand the problem and yes, i'd say that is just buggy.


-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc