Search code examples
processlua

Lua: how to check whether a process is running


I would like to start a process from Lua and monitor whether the process is still running.

[EDIT] I know starting can be achieved by os:execute, but this is blocking. I would like to find a way to start a process non-blocking and monitor whether it still runs.


Solution

  • The following Lua library provides functions to (asynchronously) start and monitor processes.

    http://stevedonovan.github.io/winapi/