Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dune exec should work with absolute paths #10536

Open
Khady opened this issue May 16, 2024 · 1 comment
Open

dune exec should work with absolute paths #10536

Khady opened this issue May 16, 2024 · 1 comment

Comments

@Khady
Copy link
Contributor

Khady commented May 16, 2024

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!
@rgrinberg
Copy link
Member

I suppose there's no reason why it shouldn't. PR's welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants