How to stop console from pausing?

Just a quick newbie question: I'm doing a console application and whenever I open a .exe using system(), the console pauses and does not run the next instruction until I close this exe. For example when I do this:

...
system("mspaint.exe");
printf("Hello");

It opens ms paint and does not print the next message until Paint is closed. How do I work around this? Thx
Topic archived. No new replies allowed.