Published on InterSystems Developer Community (https://community.intersystems.com)

Home > How to get Script execution result in CMD caller

Question
Sylvain DUBOIS · Mar 9, 2022

How to get Script execution result in CMD caller

Hello

I am running a script from a CMD command line using : C:\CacheSys\Bin\cterm.exe /console=cn_iptcp:127.0.0.1[23] myscript.SCR %CD%

The script should authorize something (or not) in the following lines of the GO.CMD

 

But How can i return an information from inside the script to the GO.CMD script ?

Any idea ?

#Terminal #Caché
Product version: Ensemble 2017.1

Source URL:https://community.intersystems.com/post/how-get-script-execution-result-cmd-caller