in reply to Re: exec on Windows "halfway forks"
in thread exec on Windows "halfway forks"

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.

Replies are listed 'Best First'.
Re^3: exec on Windows "halfway forks"
by BrowserUk (Patriarch) on Jun 14, 2010 at 18:38 UTC

    So it does. What a convoluted mechanism to achieve ?