-
-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
callRunner: Use PowerShell to run commands on Windows (#3006)
* callRunner: Use PowerShell to run commands on Windows PowerShell's `Start-Process` cmdlet & its `-Wait` parameter are used to wait for a process tree to exit. This means we can now accurately track the "Playing" status of games on Windows. * Properly quote runner path * Simplify argument quoting a bit There's no need to do different things depending on whether the argument contains a space, we can just always use the "longer" triple-quote form * Only try to run PowerShell if it's available
- Loading branch information
Showing
1 changed file
with
43 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters