Check if process exists
Simpler version for browserify