Commit 8a0ae57
[vm] escape path when creating process on Windows
path may contain spaces. When it is passed into CreatProcessW, it will interpret in several ways. Escape path for CreateProcessW to remove ambiguity.
The api doc of CreateProcessW: https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessw#parameters
Bug: #37751
Change-Id: Ia3486d9a8c6b38c526c651dd6a801e0b8dad8655
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112267
Reviewed-by: Siva Annamalai <[email protected]>
Commit-Queue: Zichang Guo <[email protected]>1 parent 82b06db commit 8a0ae57
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
237 | 244 | | |
238 | 245 | | |
239 | 246 | | |
| |||
0 commit comments