Archived

This topic is now archived and is closed to further replies.

Run an Executable from a program

This topic is 5899 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

exec() (there are variants), or spawn() (windows only, *NIX use fork() and exec() )

Share this post


Link to post
Share on other sites
If windows only.....

if you don''t need the process handle or the spawned thread id then you can use the simple ShellExecute.

Otherwise look into CreateProcess

both of which are well documented in MSDN

Share this post


Link to post
Share on other sites