This file contains hidden or 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
So you want to launch a WSL GUI process but not leave a parent terminal that if closed killed your GUI application? | |
Step 1: Create a Powershell script file to launch your wsl application: | |
start-process powershell -ArgumentList "wsl.exe -- terminator" -WindowStyle hidden | |
Save it as something meaningful like terminator.ps1 in this example. | |
Step 2: Create a Windows shortcut to the Powershell script like below: | |
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "terminator.ps1" |