microsoft / microsoft/terminal
[Group Policy] Process based enforcing single window mode
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
Is it possible to add a policy that enforces single window mode based on the process that is executing the PowerShell script or CMD script.
Use case: We have a backup tool that uses multiple PowerShell scripts/commands to do the work. It would be cool if I can configure WT centralized to open the commands called from this specific process in single/independent window mode.
**Implementation details:**
A list of calling process names/paths that should execute their scripts/commands in single window mode.
Example:
- Calling process: `MyApp.exe`
- Command: `powershell.exe -File MyScript.ps1`
- Policy entry: MyApp.exe
Contributor guide
Research direction
Start by tracing how Windows Terminal handles process-based command execution and its existing single-window mode policy. Use the issue's MyApp.exe and powershell.exe -File MyScript.ps1 example to define the expected matching behavior. Done means a configurable list of calling process names or paths reliably enforces single or independent window mode for matching commands.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, powershell
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100