PDA

View Full Version : Hiding The Command Prompt Window When Using System Calls



thenybbler
5th May 2010, 16:50
I was just wondering if there was any way that QT could hide the Command Prompt Window when using a system call.

when i call:

system("otherProgram.exe");

a command prompt window flashes up on the screen for second then vanishes is there any way to prevent the command prompt from showing up?

thanks

squidge
5th May 2010, 17:22
Did you try to use QProcess?

thenybbler
5th May 2010, 17:32
That did it thanks...