![]() |
To run an application from c/c++ program
Hello all,
i am in need of developing an application (writing a C/c++ code ) to Run an application(say for example a vlc player or any as such) from the Code and get its process ID and perform certain manipulation and then kill it ..... i want the application to run both in windows and Linux too.. Anyone here suggest me how to do this.... i heard like "system" command would be of help i have been googling for good tutorials but no help.. Anyone here guide me... any help is highly appreciated thanks and regards |
Re: To run an application from c/c++ program
Quote:
|
Re: To run an application from c/c++ program
For Windows consider using CreateProcess().
For Linux - fork() and then execve(). They all are documented well, look msdn and man-pages. |
| All times are GMT +5.5. The time now is 01:09. |