[flang-commits] [flang] [flang] Add EXECUTE_COMMAND_LINE runtime and lowering intrinsics implementation (PR #74077)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Fri Dec 1 09:23:16 PST 2023
klausler wrote:
That makes sense, given that you want to use `system()` rather than `fork()` and `execvp()`. On the asynchronous POSIX path you're actually creating two processes rather than one, unfortunately.
Do you ever use `waitpid()` to harvest these completed processes? If not, they'll occupy system resources until the program exits.
https://github.com/llvm/llvm-project/pull/74077
More information about the flang-commits
mailing list