Any reason not to? http://stackoverflow.com/questions/1176012/difference-between-getmypid-and-posix-getpid This applies at least to the `RunTaskCommand`.