using other exe's

i would like to know how to make my program execute other exe's like i clicked on them
on Windows CreateProcess()
on Linux exec()

:)
thanks
Beware that they are not equivalent, though. You have to do some special magic with a fork to use exec. ;-)
windows
system("start c:\whateverdirectories")


this is like telling dos to open it up
Topic archived. No new replies allowed.