Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Program Execution within the C and C++ forums, part of the Software Development category; Is it possible to run another program say program2 from a program say program1 in C? If so can someone suggest me a best and easy way for achieving this?...
|
|||||||
|
|||
|
Program Execution
Is it possible to run another program say program2 from a program say program1 in C? If so can someone suggest me a best and easy way for achieving this?
|
| The Following User Says Thank You to norman For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Executing a Program from another Program
I have a C program and I wanted to invoke or execute another C program from the first C program. Is there any option in C language for doing this? What is the command used for this?
|
|
|||
|
Re: Program Execution
If the C program is run in a UNIX operating system then you can use the exec, execl, execv,execle, execve, execlp, execvp functions to invoke another program from within a C program.
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Side by Side Execution of multiple versions | Beena | ASP.NET | 2 | 06-04-2008 09:49 AM |
| Knowledge about Program ID in Cobol program | RyanJames | MainFrame | 2 | 02-14-2008 09:32 AM |
| Segmentation Fault in C program | RyanJames | C and C++ | 3 | 01-28-2008 12:53 AM |
| Easiest Certification Program | fred | Certification | 3 | 01-04-2007 11:54 AM |
| Achieve Scalability in Program | RyanJames | C and C++ | 3 | 12-15-2006 02:08 PM |