Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
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
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.