Outputs:use strict; use warnings; print "FIRST\n"; fork(); print "SECOND\n";
FIRST SECOND SECOND
It would therefor appear that it DOES execute that command twice. If you think it does not, please supply what you are using as evidence so that we might see what you are doing differently.
In reply to Re^3: explain my code
by eric256
in thread explain my fork
by qbxk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |