639cc322f1
When running the VM from PATH using 'dart', Platform.executable could report the process name as 'dart' instead of 'dart.exe'. This change updates dartdev to handle this case so the checkArtifactExists call doesn't fail to find the 'dart' binary. Fixes https://github.com/dart-lang/sdk/issues/56306 Change-Id: I1d2e87e3f1b9841ca2b23d1e16bb53dc0f2183a5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/377542 Auto-Submit: Ben Konyi <bkonyi@google.com> Commit-Queue: Ben Konyi <bkonyi@google.com> Reviewed-by: Siva Annamalai <asiva@google.com>