Reputation: 7048
I'm trying to run a command from a window project using system() call but everytime the console shows up. how can i run the command without displaying a console window?
Upvotes: 1
Views: 96
Reputation: 49850
Use the CreateProcess
function, and pass the flag CREATE_NO_WINDOW
.
Upvotes: 2