ACL sh command - getting values returned by the command executed
Hello,
I am new to ACL.
We are trying to use the sh command to call Tortoise SVN, and are hoping there is a way to get the value returned by the command that sh calls. For example, we were hoping something like this might work:
local testVariable = sh svn commit C:\filepath\filename
if(testVariable==0) { response('success'); }
if(testVariable==1) { response('failure'); }
Where svn returns 0 or 1 for success or failure. We tried the above, and it doesn't work.
Does anyone know if there is anyway to use sh and get the value returned by the command it executes?
Thanks,
Will

