Fork: Difference between revisions

Content deleted Content added
PureFox (talk | contribs)
m →‎{{header|Kotlin}}: Refreshed output
Robbie (talk | contribs)
Line 219:
((plusp pid) (write-line "This is the original process."))
(t (error "Something went wrong while forking."))))</lang>
 
=={{header|D}}==
<lang D>import core.thread;
import std.stdio;
 
void main() {
new Thread({
writeln("Spawned thread.");
}).start;
writeln("Main thread.");
}</lang>
 
=={{header|DCL}}==