GeoffKelly
Technical User
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 will not be able to use WAITFOR (at least no based on what I have read).
The ideal method would be to launch the program and use something like CreateProcess and WaitForSingleObject, but I don't know of a way in ASPECT to get the ThreadID and ProcessID.
Is there a way in ASPECT to declare functions from Windows DLLs? This would allow me to declare the CreateProcess and WaitForSingleObject functions I need.
Thanks,
Geoff
The ideal method would be to launch the program and use something like CreateProcess and WaitForSingleObject, but I don't know of a way in ASPECT to get the ThreadID and ProcessID.
Is there a way in ASPECT to declare functions from Windows DLLs? This would allow me to declare the CreateProcess and WaitForSingleObject functions I need.
Thanks,
Geoff