I have a nodejs App.When i start the App from CLI with nodejs app.js all works fine, but if the App runns as a daemon the exec command inside app don't works.
How are you running your app as a daemon? You can check the forever tool for that via npm, which will handle exec commands as supposed.