Fork: Difference between revisions
→{{header|Peri}}
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
|||
Line 670:
</pre>
=={{header|Peri}}==
<syntaxhighlight lang="Peri">
###sysinclude standard.uh
###sysinclude system.uh
#g
."Start!\n"
§child fork sto childpid
@childpid wait
@childpid ."This was the child pid: " printnl
end
child: ."I am the child!\n"
#d 3.14 printnl
2 sleep
end
{ „childpid” }
</syntaxhighlight>
{{out}}
<pre>
Start!
I am the child!
+3.14000000000000
This was the child pid: 6261
</pre>
=={{header|FreeBASIC}}==
|