Fork: Difference between revisions

Content added Content deleted
(→‎{{header|Go}}: mention ForkExec; add godoc link)
(Added zkl)
Line 1,052: Line 1,052:
p_msg db "Printed from Parent process",13,10,0
p_msg db "Printed from Parent process",13,10,0
</lang>
</lang>

=={{header|zkl}}==
{{works with|Unix}}
This just tells the Unix shell to run the process in the background
<lang zkl>zkl: System.cmd("ls &")</lang>
{{out}}
<pre>
0 // return code from the shell, ls has been forked
zkl: 1_2_all_freq.txt ff.zkl lua.zkl rot13.b
2hkprimes.txt fg.zkl lucas-lehmer.zkl rot13.zkl
...
</pre>



{{omit from|JavaScript}}
{{omit from|JavaScript}}