stevedonovan/winapi — pull request #2 by ignacio (2011-10-20 18:48:42+00:00)
Title: Allows to retrieve the pid of a process.

This patch allows to retrieve the pid of a process.

~~~lua
local proc, file = winapi.spawn_process("aProcess")
print( proc:get_pid() )
~~~