Check if proc_open() can be used before calling it