process: Add a working implementation for posix