Basic process functions. Need to make these for Linux/OSX too.