Fork: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
|||
Line 670: | Line 670: | ||
</pre> |
</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}}== |
=={{header|FreeBASIC}}== |