[Bug libfortran/90038] execute_command_line should not use fork()
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 17 19:33:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90038
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #4 from kargl at gcc dot gnu.org ---
(In reply to Janne Blomqvist from comment #3)
> Further testing revealed that it leaves zombie processes around as the child
> is never wait()'ed for. E.g.
>
> program cmd
> implicit none
> call execute_command_line("echo hi", wait=.FALSE.)
> call sleep(30)
> end program cmd
What does 'it' refer to? fork() is leaving a zombie?
posix_spawn() is leaving a zombie?
More information about the Gcc-bugs
mailing list