First post, by RrnR
I have DOSBox set up so that I can pass it command lines which previously were called directly from batch files (I call it from a wrapper batch file that checks to see if the platform is 64-bit - if it isn't, it just executes the command line, otherwise it fires up DOSBox and passes the command line to it - that way the batch files run on both 32 and 64-bit systems).
Anyway, these command lines usually invoke a build process that sets ErrorLevel according to success or failure. When the command line executes inside DOSBox, how can I pass the resulting ErrorLevel back to the process that invoked DOSBox when DOSBox exits?