Created
February 13, 2024 10:15
-
-
Save shubhamkumar13/01cedbe0669a12527c2626febf24629c to your computer and use it in GitHub Desktop.
run a unix command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let _ = | |
Eio_main.run (fun env -> | |
let process_manager = Eio.Stdenv.process_mgr env in | |
Eio.Process.parse_out process_manager Eio.Buf_read.take_all ["ls"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment