user963241
user963241

Reputation: 7048

Running Commandline

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

Answers (1)

Philipp
Philipp

Reputation: 49850

Use the CreateProcess function, and pass the flag CREATE_NO_WINDOW.

Upvotes: 2

Related Questions