Automap scripts should continue after external calls
Summary
When Automap calls an external script it stop processing all other commands in the script field. It should continue until all commands have been processed.
Description
In Automap 2010.3, consider this script:
echo Before the external call. c:\scripts\external_script.bat echo After the external call.
When Automap runs the project, the second echo statement never gets processed or logged.
Try adding call to the script:
echo Before the external call. call c:\scripts\external_script.bat echo After the external call.
This is a DOS Batch file behavior.
BenAllums | Mike, Actually, this is a feature of the DOS Batch environment. You simply need to prefix your second script with "CALL". Doing so results in the DOS Batch runtime calling the first script, then returning control back to your original script. |
2011-01-24 13:56:40 | ||
MikeHedblom | <dope slap>In knew that</dope slap> |
2011-01-24 14:51:21 |