@@ -752,12 +752,17 @@ Eio.Io Net Connection_failure Refused Unix_error (Connection refused, "connect",
752752```
753753
754754If we ran this using another backend, the ` Unix_error ` part might change.
755- To avoid this problem, you can use ` Eio.Exn.Backend.show ` to hide the backend-specific part of errors:
755+ To avoid this problem, you can use ` Eio.Exn.Backend.show `
756756
757757``` ocaml
758758# Eio.Exn.Backend.show := false;;
759759- : unit = ()
760+ ```
761+
762+ to hide the backend-specific part of errors:
760763
764+ <!-- $MDX skip -->
765+ ``` ocaml
761766# Eio_main.run @@ fun env ->
762767 let net = Eio.Stdenv.net env in
763768 Switch.run @@ fun sw ->
@@ -882,6 +887,7 @@ perhaps with `open_dir` to constrain all access to be within that directory.
882887
883888Spawning a child process can be done using the [ Eio.Process] [ ] module:
884889
890+ <!-- $MDX non-deterministic=command -->
885891``` ocaml
886892# Eio_main.run @@ fun env ->
887893 let proc_mgr = Eio.Stdenv.process_mgr env in
@@ -893,6 +899,7 @@ hello
893899There are various optional arguments for setting the process's current directory or connecting up the standard streams.
894900For example, we can use ` tr ` to convert some text to upper-case:
895901
902+ <!-- $MDX non-deterministic=command -->
896903``` ocaml
897904# Eio_main.run @@ fun env ->
898905 let proc_mgr = Eio.Stdenv.process_mgr env in
@@ -905,6 +912,7 @@ ONE TWO THREE
905912If you want to capture the output of a process, you can provide a suitable ` Eio.Flow.sink ` as the ` stdout ` argument,
906913or use the ` parse_out ` convenience wrapper:
907914
915+ <!-- $MDX non-deterministic=command -->
908916``` ocaml
909917# Eio_main.run @@ fun env ->
910918 let proc_mgr = Eio.Stdenv.process_mgr env in
@@ -914,6 +922,7 @@ or use the `parse_out` convenience wrapper:
914922
915923All process functions either return the exit status or check that it was zero (success):
916924
925+ <!-- $MDX non-deterministic=command -->
917926``` ocaml
918927# Eio_main.run @@ fun env ->
919928 let proc_mgr = Eio.Stdenv.process_mgr env in
0 commit comments