How to call an executable C in script shell ?
I did echo name_of_executable_file but it didnt works
-
Sorry, did you compile your C code? How? Or do you want to run an executable from C? Maybe you need system(3) or popen(3). Read also about path_resolution(7), syscalls(2), environ(7), credentials(7)Basile Starynkevitch– Basile Starynkevitch2021-05-12 15:43:57 +00:00Commented May 12, 2021 at 15:43
-
Never describe a problem only as “it didnt works.” State exactly what you did, what behavior you observed, and what behavior you desire instead. For example, if the shell printed a message like “name_of_executable_file: command not found”, then say that.Eric Postpischil– Eric Postpischil2021-05-12 15:58:15 +00:00Commented May 12, 2021 at 15:58
Add a comment
|