Lua: how to check whether a process is running -


i start process lua , monitor whether process still running.

[edit] know starting can achieved os:execute, blocking. find way start process non-blocking , monitor whether still runs.

one of blunt ways using io.popen() , monitoring it's output or processes them self using other linux tool ps.

another way using lua posix bindings posix.signal , posix.unistd#fork()


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -