-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-managementArea - Microsoft.PowerShell.Management moduleArea - Microsoft.PowerShell.Management moduleissue-doc-ideaIssue - request for new contentIssue - request for new content
Milestone
Description
Prerequisites
- Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
- Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Document new
Get-Foocmdlet" instead of "New cmdlet."
Summary
Start-Process has a new -Environment parameter allowing specifying specific environment variables to the child process. Existing env vars get replaced with exception of PATH where on Unix it gets replaced (although pwsh will always prefix PATH with $PSHOME on start) and on Windows, the value is in front, but Machine and User PATH gets appended.
Details
No response
Articles
No response
Related Source Pull Requests
Related Source Issues
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-managementArea - Microsoft.PowerShell.Management moduleArea - Microsoft.PowerShell.Management moduleissue-doc-ideaIssue - request for new contentIssue - request for new content