I am calling a shell script from c++ using the
My problem is path.
On my local copy the path is different from the one another box
so my question is
IS their any way can we give the path without starting from the /home ....
the script should run unrelated to the path...
Here is what i am trying to do
i have an application
in that applications i have c ++,shell ,sql in following folders
i am calling the shell script from C++ code using the
Is their any way can we make the above one runs good if the application xyz kept in /home/abcd
i know i need to pass the whole path as
to run .
but can we do this work independent of the path the where apllication xyz kept.
i need an
PATH which works for both situations.
something like get the path before the xyz i.e where xyz is copied and keep the complete PATH in system
where X should be dynamically generated path where the xyz is copied.