Aug. 20, 2013
7:42 a.m.
I just wrapped this in NB last week, so if you have NativeBoost and Windows you can use: NBWin32Process getCurrentProcessId (requires the latest packages from http://smalltalkhub.com/#!/~Pharo/NativeBoost) I'm sure on any other platforms there are API's as well to get the PID, like getpid on Unix. Should be easy to wrap in NB if you follow this tutorial: https://ci.inria.fr/pharo-contribution/job/PharoForTheEnterprise/lastSuccess... Bye T.