d6d37ed203
"\\?\" prefixed path is not properly supported. Arguments historically were parsed as a Uri, which converted backward slashes into slashes. It used to work because Win API is able to handle slashes as separators. But "\\?\" has a special meaning and should not be changed. '?' is also invalid char in the URI. So it leads to a crash. The best solution is to avoid using URI to parse the path. This cl is a workaround for crashing. Bug: https://github.com/dart-lang/sdk/issues/42779 Change-Id: I13bcefc820eb578a2707181080eac9c0f1592e4b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156364 Reviewed-by: Siva Annamalai <asiva@google.com> Commit-Queue: Zichang Guo <zichangguo@google.com>