Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Wait for MSWindows.WinExec() to complete
Sapna_Shah
Does anyone know on how to make my process wait for the call to MSWindows.WinExec to complete in OScript? As the rest of the process in Livelink continues in the background while WinExec is running..Rightnow I run a small loop that runs for few seconds which allows time for WinExec to complete..Any other better way to do??And also I wanted to know if I can check if the call to other applcation didn't return any error i.e. if the WinExec ran ok. I read in some document that it returns boolean, but its not of much help, as the boolean value turns true as soon as command prompt window is opened, but can there be any way to check if the program ran ok or not? Any ideas????Thanks
Find more posts tagged with
Comments
There are no comments yet