MetaEditor 5.0.0.6308 returns exit code 1 after successful compile

Could you clarify the official process exit-code meaning for MetaEditor64.exe version 5.0.0.6308?

I ran a single-file compile using /compile:"BTC_Scalper_Auth5_ReadOnly.mq5" /log:"metaeditor_compile.log". The log reports code generated, 0 errors, and 0 warnings, and a fresh EX5 was created. However, the MetaEditor process returned exit code 1.

Is exit code 1 expected for a successful single-file compile with this build, or does it indicate an error? What criteria should an automated compile process use to determine success?

Compiler SHA-256: 2351FE6363171CE396032B685872455638D7D2E79C5C847D2901FB54A6AAA5C6


Tavichai:

Could you clarify the official process exit-code meaning for MetaEditor64.exe version 5.0.0.6308?

I ran a single-file compile using /compile:"BTC_Scalper_Auth5_ReadOnly.mq5" /log:"metaeditor_compile.log". The log reports code generated, 0 errors, and 0 warnings, and a fresh EX5 was created. However, the MetaEditor process returned exit code 1.

Is exit code 1 expected for a successful single-file compile with this build, or does it indicate an error? What criteria should an automated compile process use to determine success?

Compiler SHA-256: 2351FE6363171CE396032B685872455638D7D2E79C5C847D2901FB54A6AAA5C6


MetaEditor64.exe returns the number of successfully compiled files.

Usually 1. If the compilation failed it will return 0.

If you do a mass compilation, it will return a greater value depending on the number of compiled files.

Integration with other IDEs - Welcome to algorithmic trading - MetaEditor Help
Integration with other IDEs - Welcome to algorithmic trading - MetaEditor Help
  • www.metatrader5.com
MetaEditor allows you to write code not only in MQL4 and MQL5. You can also edit and compile the C++ and Python source code. In addition, you can...