4 lines
134 B
OCaml
4 lines
134 B
OCaml
|
|
case Posix.Process.fork () of
|
||
|
|
SOME pid => print "This is the original process\n"
|
||
|
|
| NONE => print "This is the new process\n";
|