Output validation for exec() method.
Windows exec() implementation.