Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Which exec function should I use to start a screen session:

execl, execlp, execle, execv, execvp, execvpe ?

I just need to know if the exec was successful.
Posted
Updated 19-Dec-13 16:21pm
v2
Comments
[no name] 19-Dec-13 22:48pm    
Seems this is not really a Linux community :(
Sergey Alexandrovich Kryukov 19-Dec-13 23:32pm    
It does not mean nobody can answer...
—SA

Any of these functions can be used; it all depends on what information you want to pass to the target, and how you want to formulate your parameters. For full details refer to the man pages[^].
 
Share this answer
 
actually this is not a linux partner area.but you can follow this url to understand the differences between executon behav in linux enviorment

http://man7.org/linux/man-pages/man3/execl.3.html
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900