How do I start an app and make it run from it's own directory?
For any custom application I create which needs to run at startup, what I normally do is have an entry in my /etc/init.local that executes the app.
Now if I just put Code:
/data/app/prod/start & |
Hi -
1. You can do a "cd SOMEDIR" before you can invoke the program ... and/or ... 2. The program can parse the path from argv[0] when it starts up 'Hope that helps .. PSM |
All times are GMT -5. The time now is 09:24 AM. |