Skip to content

status

Return the process status string, or nil when it has ended. Available as status after import_globals() or mv.process.status.

Parameters

  • handle — A process handle.
print(status(enemy)) -- "running", "sleeping" or "frozen"

Related: alive, snapshot.

See the lua processes guide for more examples and limits.