SpiderPig Posted February 2 Share Posted February 2 Is there an event in LUA that occurs when a process created with CreateProcess() is closed down? Or can I add a while loop in an extension to check the process status? Quote Link to comment Share on other sites More sharing options...
Josh Posted February 8 Share Posted February 8 No event is emitted, just Process::GetStatus(). 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted February 8 Author Share Posted February 8 Thanks, how would this be checked inside an extension? I mean, is there an update event or loop I could add it too to check when I've closed the process? Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted February 8 Solution Share Posted February 8 I would probably create a timer and then use an event listener to check the process status every 200 milliseconds or so. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted February 8 Author Share Posted February 8 Perfect. 👍 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.