Description
Expected Behavior
With dune.3.18.2
, dune exec
behaves as I am used to.
Actual Behavior
After an upgrade to dune.3.19.0
invocations of commands, such as with --help
seems to be hanging.
For example at the root of https://github.com/mbarbin/dunolint (I don't think the actual repo matters, this seems a broader issue).
$ dune exec dunolint -- --help
Note that if the flag has a typo, this returns right away with the expected error message.
$ dune exec dunolint -- --typo
returns right away after zero-build with usual errors on the console.
This is weird, as if this would depend on the exit code of the command being run..
Reproduction
I've tried with a few commands built with cmdliner and the issue seem pretty consistent across repos.
Please let me know if you'd like me to try adding some debug flags or something. I'd appreciate if someone can try to see if they can reproduce too!
Thanks!
Specifications
- Version of
dune
(output ofdune --version
): 3.19.0 - Version of
ocaml
(output ofocamlc --version
): 5.3.0 - Operating system (distribution and version): Ubuntu 24.04.2 LTS