-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
Description
The Windows Compatibility module needs to be able to maintain correspondence between the current working directory in the host session and the current working directory in the compatibility session. Each time the host session directory changes the compatability session needs to the notified of the change. To that end I'm adding a new event LocationChangedAction that will get fired when the host session changes location. From PowerShell, it would be used as follows:
$ExecutionContext.InvokeCommand.LocationChangedAction = {
$newLocation = $_.NewPath.Path
Invoke-Command $CompatibilitySession { Set-Location $using:newLocation }
}Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime