We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce565a5 commit 72dd7ffCopy full SHA for 72dd7ff
src/bin/lpython.cpp
@@ -1735,7 +1735,8 @@ int main(int argc, char *argv[])
1735
// the first:
1736
std::string arg_file = arg_files[0];
1737
if (CLI::NonexistentPath(arg_file).empty()){
1738
- throw LCompilers::LCompilersException("No such file or directory: " + arg_file);
+ std::cerr << "The input file does not exist: " << arg_file << std::endl;
1739
+ return 1;
1740
}
1741
1742
std::string outfile;
0 commit comments