--TEST-- Bug #72035 php-cgi.exe fails to run scripts relative to drive root --SKIPIF-- --FILE-- "); $cmd = "$cgi -n -C $fl"; /* Need to run CGI with the env reset. */ $desc = array(0 => array("pipe", "r")); $proc = proc_open($cmd, $desc, $pipes, getcwd(), array()); if (is_resource($proc)) { echo stream_get_contents($pipes[0]); proc_close($proc); } unlink($fl); ?> --EXPECTF-- X-Powered-By: PHP/%s Content-type: text/html; charset=UTF-8 hello