Hi All,
Hopefully a quick one, I'm updating an existing batch script that launches an app, then parses a "results" file that the app produces. I'd like to add a timeout to this script so it does not wait forever for the app to exit, but I can't find the command/option for it - anyone know how to do this?
To perhaps better explain:
Thanks
Hopefully a quick one, I'm updating an existing batch script that launches an app, then parses a "results" file that the app produces. I'd like to add a timeout to this script so it does not wait forever for the app to exit, but I can't find the command/option for it - anyone know how to do this?
To perhaps better explain:
Code:
exec "some command"
# this will not proceed until the above command completes, no matter how long it takes...
IF NOT EXIST %RESULTSFILE% (
set EXITCODE=1
)
# other stuff removed...
Thanks
Last edited: