Silly me! TaskID is "(null)" because I used the wrong substitution operator (%s instead of %i). The corrected code works perfect!
***********************************************************
PROC MAIN
INTEGER TaskID
RUN "CMD.EXE" TaskID
WHILE...
Thank you for your response. It looks as if this should work. Since I am new to ASPECT I kinda overthought the problem - didn't know about TASKEXISTS.
I wrote a quick sample script (below) to test whether this will work for the DOS app and it works, although the TaskID is set to...
Does anyone know if it is possible to suspend a script from continuing until an external program (launched by script) is closed? Unfortunately, both the DOS program and Windows program I will be spawning don't output any information back on the COM ports I will be talking to in my script so I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.