[Bug libfortran/48961] EXECUTE_COMMAND_LINE(WAIT=.false.) fails on MinGW

thenlich at users dot sourceforge.net gcc-bugzilla@gcc.gnu.org
Sun May 15 09:45:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48961

--- Comment #12 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-05-15 09:26:02 UTC ---
(In reply to comment #11)
> (In reply to comment #9)
> > Thus, I do not see how one can solve this better than currently done.
> 
> We might call system() in a separate thread instead of a separate process which
> is more efficient and would also work on Windows.

The drawback is that the calling application would not exit before system() has
returned or possibly would abort the running command.

So it seems the current implementation is not so bad after all.



More information about the Gcc-bugs mailing list