Function to execute a binary incase of code.
Hello friends,
I am working currently in C programming. For some reasons, in the code, i have to give a path to the binary(executable), which can be directly used instead of any code.
For eg :-
if(condition_satisfied){
execve'absolute_path_to_executable_file'
}
With this, it should execute this binary file. Is this possible? If yes, Kindly let me know. Thank you for your time.
Love how the world of Linux is so awesome, where one can just see how its done, its like peeking inside a civilization and seeing how they work in their day to day life, how they progress, how they evolve, how they communicate...!!!
Bookmarks