ocamlrun requires a period in the filename, else it produces a misleading error message #5532
Original bug ID: 5532
ocamlrun refuses to run bytecode files with no period in the filename. Instead, it prints "Fatal error: the file is not a bytecode executable file", which is not necessarily true.
Steps to reproduce
The text was updated successfully, but these errors were encountered:
Comment author: meyer
It's not about period in the filename. Your file name seems to be a legitimate non-ocaml bytecode file found on path. It clashes on my machine with Linux /usr/bin/test. If you try ocamlrun ./test it will work.
It's documented under:
I'm closing this PR, since it's not a bug.