-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Description
Just chiming in;
_ (profile,working dir, environment var, etc)._
Anything about the actual process on the other end is, in the general case, impossible to replicate. The connected process could be
ssh.exe, whose environment variables and working directory have no bearing on the detectable environment and working directory from the terminal side. The same actually, weirdly enough, applies to WSL. It doesn't use "working directory" and it doesn't expose its environment variables to interested Windows processes in any way.
Powershell doesn't even set the current working directory, so its directory can't be detected (!) either.Was interested in this but seems like it's not going to happen. Just curious if something like 'start' in cmd can't work in terminal. Is this the case ?
@zadjii-msft I'm trying to clone the current terminal into a new pane. I need the same environment var's etc carried over similar to how 'start' does it in cmd. I know it isn't currently possible but is there a temporary workaround?
Originally posted by @Surya-06 in #1756 (comment)