Added support for proc_open