File: README.md

package info (click to toggle)
ocaml-process 0.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 152 kB
  • sloc: ml: 375; makefile: 38
file content (12 lines) | stat: -rw-r--r-- 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
## Easy process control in OCaml

```ocaml
let stdout_lines = Process.read_stdout "ls" [||] in
List.iter print_endline stdout_lines
```

It's as easy as that!

Exit status, stdin, and stderr are also available.

`process` makes it easy to use commands like functions.