Commit 97369cc
committed
wslutils: guard against failure to launch pwsh
Let's not crash the process if we are unable to launch PowerShell to
determine the Windows session ID.
Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>1 parent d31f62c commit 97369cc
File tree
1 file changed
+10
-2
lines changed1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
200 | 208 | | |
201 | 209 | | |
202 | 210 | | |
| |||
0 commit comments