Because on my system exec never returns, so quite how you are reaching the while loop I do not understand.The exec calls the same program. The while loop is reached in the execed program.
In reply to Re^2: exec on Windows "halfway forks"
by JavaFan
in thread exec on Windows "halfway forks"
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |