fortran-lang / playground

An interactive Fortran playground
MIT License
34 stars 12 forks source link

Capture compiler error #13

Closed milancurcic closed 2 years ago

milancurcic commented 2 years ago

Currently, we get something like this on a bad source input:

OCI runtime exec failed: exec failed: unable to start container process: exec: "./executed_file.o": stat ./executed_file.o: no such file or directory: unknown

The backend should instead capture and return stderr from the compiler, and suppress the internal error message of the backend.