I have a set of attributes such as group id,group name,etc related to a linux process. Iwant to know how to start a process in linux using C program.Plz do help me.
If you want to run another program from within your own:
- man 2 fork
- man 3 exec
- man 2 execve
- man 3 system if you want the call to return
If you want to run your program as another user/group:
If you want to know how Linux creates a new process the best start would be the Linux kernel source.
If you need something else, please explain what you want to do that what prerequisites you have in complete english sentences.
you can use fork or exec as posted by Pludi
Thanx dude