Posted 21 September 2014 - 05:50 PM
Quick question.
Lets say I do this:
So in theory I have a background process. Now, from another program, I wanted to terminate the 'mon' process, is that possible?
This terminates the mon 'thread'.
Lets say I do this:
local ops = {function() shell.run("shell") end, mon (this is a internal function)}
parallel.waitForAny(unpack(ops))
So in theory I have a background process. Now, from another program, I wanted to terminate the 'mon' process, is that possible?
> some_program --kill
This terminates the mon 'thread'.