@@ -761,7 +761,7 @@ To avoid this problem, you can use `Eio.Exn.Backend.show`
761
761
762
762
to hide the backend-specific part of errors:
763
763
764
- <!-- $MDX skip -->
764
+ <!-- $MDX os_type<>Win32 -->
765
765
``` ocaml
766
766
# Eio_main.run @@ fun env ->
767
767
let net = Eio.Stdenv.net env in
@@ -887,7 +887,7 @@ perhaps with `open_dir` to constrain all access to be within that directory.
887
887
888
888
Spawning a child process can be done using the [ Eio.Process] [ ] module:
889
889
890
- <!-- $MDX non-deterministic=command -->
890
+ <!-- $MDX os_type<>Win32 -->
891
891
``` ocaml
892
892
# Eio_main.run @@ fun env ->
893
893
let proc_mgr = Eio.Stdenv.process_mgr env in
@@ -899,7 +899,7 @@ hello
899
899
There are various optional arguments for setting the process's current directory or connecting up the standard streams.
900
900
For example, we can use ` tr ` to convert some text to upper-case:
901
901
902
- <!-- $MDX non-deterministic=command -->
902
+ <!-- $MDX os_type<>Win32 -->
903
903
``` ocaml
904
904
# Eio_main.run @@ fun env ->
905
905
let proc_mgr = Eio.Stdenv.process_mgr env in
@@ -912,7 +912,7 @@ ONE TWO THREE
912
912
If you want to capture the output of a process, you can provide a suitable ` Eio.Flow.sink ` as the ` stdout ` argument,
913
913
or use the ` parse_out ` convenience wrapper:
914
914
915
- <!-- $MDX non-deterministic=command -->
915
+ <!-- $MDX os_type<>Win32 -->
916
916
``` ocaml
917
917
# Eio_main.run @@ fun env ->
918
918
let proc_mgr = Eio.Stdenv.process_mgr env in
@@ -922,7 +922,7 @@ or use the `parse_out` convenience wrapper:
922
922
923
923
All process functions either return the exit status or check that it was zero (success):
924
924
925
- <!-- $MDX non-deterministic=command -->
925
+ <!-- $MDX os_type<>Win32 -->
926
926
``` ocaml
927
927
# Eio_main.run @@ fun env ->
928
928
let proc_mgr = Eio.Stdenv.process_mgr env in
0 commit comments