Function contributed by Luiz Rafael Culik Guimaraes.
SYNTAX
WaitRunPipe( cCommand,nShowWindow, cFile )