package open
Conveniently open files such as PDFs in their default applications.
Install
Dune Dependency
Authors
Maintainers
Sources
v0.1.tar.gz
sha256=1c6cbfdc3fe0b8cd411c4b0bf8c6cbc2bcaf44492e767271d507154690d18b54
md5=f09644454aee1b8908c082239e188638
Description
Published: 18 Apr 2018
README
ocaml-open
Conveniently open files such as PDFs in their default applications straigt from OCaml.
Dependencies
The library requires dune
(formerly known as jbuilder) to build, but has no other dependencies.
Quick start
Run make
to build and make test
to see the library in action. This should open several files from the examples/basic
folder.
There is also a more sophisticated example in examples/graphviz
that requires graphivz and Jane Street's core
(version v0.9.0 or higher). You can build & run it as follows:
jbuilder build @graphviz
Limitations and Implementation
The library has been tested under Linux and MacOS and will likely not run under Windows/Cygwin. It uses xdg-open
on Linux and open
on MacOS.
Suggestion and Contributions
Suggestions and contributions are always welcome. Feel free to submit pull requests.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page