Set PWD environment variable

This is to make spawned shells and processes to see "logical" path.
This commit is contained in:
me 2023-12-04 12:50:36 +03:00
parent f2a909dafd
commit ab718387c2

View file

@ -6835,6 +6835,8 @@ begin:
setdirwatch();
}
setenv("PWD", path, TRUE);
#ifndef NOX11
xterm_cfg(path);
#endif