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