@@ -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
@@ -897,7 +897,7 @@ perhaps with `open_dir` to constrain all access to be within that directory.
897
897
898
898
Spawning a child process can be done using the [ Eio.Process] [ ] module:
899
899
900
- <!-- $MDX non-deterministic=command -->
900
+ <!-- $MDX os_type<>Win32 -->
901
901
``` ocaml
902
902
# Eio_main.run @@ fun env ->
903
903
let proc_mgr = Eio.Stdenv.process_mgr env in
@@ -909,7 +909,7 @@ hello
909
909
There are various optional arguments for setting the process's current directory or connecting up the standard streams.
910
910
For example, we can use ` tr ` to convert some text to upper-case:
911
911
912
- <!-- $MDX non-deterministic=command -->
912
+ <!-- $MDX os_type<>Win32 -->
913
913
``` ocaml
914
914
# Eio_main.run @@ fun env ->
915
915
let proc_mgr = Eio.Stdenv.process_mgr env in
@@ -922,7 +922,7 @@ ONE TWO THREE
922
922
If you want to capture the output of a process, you can provide a suitable ` Eio.Flow.sink ` as the ` stdout ` argument,
923
923
or use the ` parse_out ` convenience wrapper:
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
@@ -932,7 +932,7 @@ or use the `parse_out` convenience wrapper:
932
932
933
933
All process functions either return the exit status or check that it was zero (success):
934
934
935
- <!-- $MDX non-deterministic=command -->
935
+ <!-- $MDX os_type<>Win32 -->
936
936
``` ocaml
937
937
# Eio_main.run @@ fun env ->
938
938
let proc_mgr = Eio.Stdenv.process_mgr env in
0 commit comments