COMMUNITY

neko2.1:How to get PID of the current process


(Mr Zhan) #1

neko2.1:How to get PID of the current process? are there any api about that ?


(Phil Chertok) #2

It’s currently not possible with the existing API. You might be able to figure it out using Sys.command but that would involve platform specific code.


(Mr Zhan) #3

I try to use python to get this function.