More process code. process.sleep() and process.waitfor() functions
have been implemented.