Fixed process app exiting on linux/mac strait away