Skip to content

dart2aot: Error When Executing #37482

Closed
Closed
@michaelknowles

Description

@michaelknowles

Dart VM version: 2.4.0 (Wed Jun 19 11:53:45 2019 +0200) on "windows_x64"

Attempting to run dart2aot results in an error. Seems like it cannot handle spaces in the path.

C:\Users\Michael\Projects\adventofcode\bin>dart2aot
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Michael\Projects\adventofcode\bin>dart2aot -h
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Michael\Projects\adventofcode\bin>dart2aot main.dart main.dart.aot
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions