﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2047	ProcessExists bad return	Jpm		"{{{
$pid = Run(@comspec, ""C:\"", @SW_SHOWNORMAL, 2)
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $pid = ' & $pid & @crlf & '>Error code: ' & @error & '    Extended code: 0x' & Hex( @extended) & @crlf) ;### Debug Console
$active=""[class:ConsoleWindowClass]""
WinWaitActive($active)
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : ProcessExists($pid) = ' & ProcessExists($pid) & @crlf & '>Error code: ' & @error & '    Extended code: 0x' & Hex( @extended) & @crlf) ;### Debug Console
}}}

The ProcessExists() returns 0 which is wrong.
It is OK if the Stdout is not redirected

Same situation with the Beta. I am running X86 Win7 Sp1"	Bug	closed		AutoIt	3.3.6.1	None	No Bug		
