Lightweight C/Python library for managing processes in a platform independent manner