In main function body, I need to call system(RELATIVE_PATH + /MyShellScript.sh). The script and other related stuff resides in main project bundle. How to get relative path? IMHO it should be possible to extract it from main parameter – “char *argv[]”…
In main function body, I need to call system(RELATIVE_PATH + /MyShellScript.sh). The script and
Share
output