[flang-commits] [flang] [flang] Fix execute_command_line cmdstat is not set when error occurs (PR #93023)

Yi Wu via flang-commits flang-commits at lists.llvm.org
Thu May 30 07:07:06 PDT 2024


yi-wu-arm wrote:

> separate the error messages

Done, but only on Linux. `cd nowhere` and `fakecommand` would all have a exitstat code of 1 on Windows so I can't seperate them. I thought about using `errno`, but it turns out that `errno` is set to 0 for the above two commands.

https://github.com/llvm/llvm-project/pull/93023


More information about the flang-commits mailing list