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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-05-11 
15:59:45 UTC ---
Question: Does it work with .true.? I think the output is perfectly valid if
the execution itself failed (and not just the asynchronous execution).


On Linux, I would suspect that the current directory (".") is not in the search
path ("$PATH"), but I don't know how it works under windows.

Thus, please double check that (a) the executable is there, (b) it is in the
search patch, and (c) the execution works with ".true.".


In either case (wait=.true. or .false.), the "system" function is called; I do
not see a reason why it should fail for the forked version (wait=.false.) but
work for the not forked one (wait=.true.).

The source code of the function is at:
http://gcc.gnu.org/viewcvs/trunk/libgfortran/intrinsics/execute_command_line.c?view=markup

Reply via email to