Skip to content

dune should work with absolute paths #10536

@Khady

Description

@Khady

Desired Behavior

dune exec "$PWD/prog.exe"

This should build prog.exe and launch it

Current Behavior

$ cat prog.ml
let () = print_endline "hello world"
$ dune build
$ dune exec ./prog.exe
hello world                      
$ dune exec "$PWD/prog.exe"
Error: Program '/home/louis/demo/prog.exe' not found!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions