diff --git a/README.md b/README.md index d1f400674..25096ea9b 100644 --- a/README.md +++ b/README.md @@ -761,7 +761,7 @@ To avoid this problem, you can use `Eio.Exn.Backend.show` to hide the backend-specific part of errors: - + ```ocaml # Eio_main.run @@ fun env -> let net = Eio.Stdenv.net env in @@ -887,7 +887,7 @@ perhaps with `open_dir` to constrain all access to be within that directory. Spawning a child process can be done using the [Eio.Process][] module: - + ```ocaml # Eio_main.run @@ fun env -> let proc_mgr = Eio.Stdenv.process_mgr env in @@ -899,7 +899,7 @@ hello There are various optional arguments for setting the process's current directory or connecting up the standard streams. For example, we can use `tr` to convert some text to upper-case: - + ```ocaml # Eio_main.run @@ fun env -> let proc_mgr = Eio.Stdenv.process_mgr env in @@ -912,7 +912,7 @@ ONE TWO THREE If you want to capture the output of a process, you can provide a suitable `Eio.Flow.sink` as the `stdout` argument, or use the `parse_out` convenience wrapper: - + ```ocaml # Eio_main.run @@ fun env -> let proc_mgr = Eio.Stdenv.process_mgr env in @@ -922,7 +922,7 @@ or use the `parse_out` convenience wrapper: All process functions either return the exit status or check that it was zero (success): - + ```ocaml # Eio_main.run @@ fun env -> let proc_mgr = Eio.Stdenv.process_mgr env in diff --git a/eio.opam b/eio.opam index 30a3b9fdb..2aac878ee 100644 --- a/eio.opam +++ b/eio.opam @@ -46,3 +46,6 @@ build: [ ] ] dev-repo: "git+https://github.com/ocaml-multicore/eio.git" +pin-depends: [ + [ "mdx.dev" "git+https://github.com/polytypic/mdx.git#7101533dedf90983e760d8a08f8bfeef4fedb89b" ] +] diff --git a/eio.opam.template b/eio.opam.template new file mode 100644 index 000000000..501513f50 --- /dev/null +++ b/eio.opam.template @@ -0,0 +1,3 @@ +pin-depends: [ + [ "mdx.dev" "git+https://github.com/polytypic/mdx.git#7101533dedf90983e760d8a08f8bfeef4fedb89b" ] +]