Repository navigation
Commit 0edd2d8
Throw Win32Exception(ERROR_NO_ASSOCIATION) when Unix has no shell opener (#132219)
- Cherry-picks the contributor fix to throw
`Win32Exception(ERROR_NO_ASSOCIATION)` when no Unix shell opener is
available.
- Adds a Linux `RemoteExecutor` regression test that clears `PATH`,
ensuring the failure is deterministic.
fixes #96565
---------
Co-authored-by: Mohamadreza Nakhleh <[email protected]>
Co-authored-by: adamsitnik <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>1 parent 2580b59 commit 0edd2d8
3 files changed
Lines changed: 17 additions & 2 deletions
File tree
- src/libraries/System.Diagnostics.Process
- src/Microsoft/Win32/SafeHandles
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
| 408 | + | |
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
82 | 96 | | |
83 | 97 | | |
84 | 98 | | |
| |||
1060 | 1074 | | |
1061 | 1075 | | |
1062 | 1076 | | |
1063 | | - | |
1064 | 1077 | | |
1065 | 1078 | | |
1066 | 1079 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
0 commit comments