Skip to content

[flang] SIGABORT with invalid argument to `EXECUTE_COMMAND_LINE" #143022

@DanielCChen

Description

@DanielCChen

Consider the following code:

      CALL EXECUTE_COMMAND_LINE("invalid")

      END

Flang has:

sh: invalid:  not found.

fatal Fortran runtime error(/home/cdchen/temp/execute_command_line03f_1.f:7): Command not found with exit code: 127.
IOT/Abort trap(coredump)

While the runtime error message is correct, could it avoid coredump and have a more peaceful exit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    flang:runtimequestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions