1--TEST-- 2bug #41874 (Separate STDOUT and STDERR in exec functions) 3--CREDITS-- 4Venkat Raman Don 5--SKIPIF-- 6<?php 7if(substr(PHP_OS, 0, 3) != 'WIN' ) { 8 die('skip windows only test'); 9} 10?> 11--FILE-- 12<?php 13$result = exec('cd 1:\\non_existant; dir nonexistant'); 14echo "$result"; 15?> 16--EXPECT-- 17The system cannot find the drive specified.