mux: spawn: only use the cwd from a pane in a compatible domain

If the target domain_id doesn't match the source pane.domain_id(),
then we consider the filesystem namespace to be incompatible and
won't try to use it.

refs: https://github.com/wez/wezterm/issues/3442
This commit is contained in:
Wez Furlong committed 2023-04-03 22:46:17 -07:00
1 parent e28b3cec4e
commit 8ddd0d986d
2 files changed
+12 -3

No files matched your search

+3
View File
@@ -87,6 +87,9 @@ As features stabilize some brief notes about them will accumulate here.
* mux: [pane:has_unseen_output()](config/lua/pane/has_unseen_output.md) and
[PaneInformation.has_unseen_output](config/lua/PaneInformation.md) now work
with multiplexer panes. #2625
* mux: attempting to split a remote pane into a different target domain could
produce a warning about the remote home directory not being readable to
the local machine or vice versa. #3442
### 20230326-111934-3666303c