Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Starting an executable within a C program

Status
Not open for further replies.

Treehouse

IS-IT--Management
Aug 21, 2002
2
US
Is there a way to start executables within my C program? If so how?
 
are you mean that you want to run a executable file (program) within C program?
 
Yes, it depends on the operating system and compiler you are running but you should look up the following calls :

system()
execp (and other exec variations)
spawn (if your system supports it)
fork and vfork

Cheers - Gavin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top