SpiderPig Posted February 2, 2024 Posted February 2, 2024 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
Josh Posted February 8, 2024 Posted February 8, 2024 No event is emitted, just Process::GetStatus(). 1 Quote Let's build cool stuff and have fun.
SpiderPig Posted February 8, 2024 Author Posted February 8, 2024 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
Solution Josh Posted February 8, 2024 Solution Posted February 8, 2024 I would probably create a timer and then use an event listener to check the process status every 200 milliseconds or so. 1 Quote Let's build cool stuff and have fun.
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.