I toyed with the yaws startup script and now it works to start my app.  The key might be using the run_erl instead of using detached.<div><br></div><div>wes</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 10:31 AM, Wes James <span dir="ltr"><<a href="mailto:comptekki@gmail.com" target="_blank">comptekki@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have an erlang app I run with -detached and it works fine until I exit the shell I ran it from.  <div><br><div>I'm on xubuntu, and run</div>
<div><br></div><div>erl -name node@host -pa /my/ebin -s module -setcookie somecookie -detached</div>
<div><br></div><div>I first used startup scripts in xubuntu but I couldn't get to the node.</div><div><br></div><div>I then tried running emacs in daemon mode, run the app and then ctrl-x,ctrl-c to get out of emacs, but leave it running, but when I do that the app stops responding.</div>

<div><br></div><div>Anyone know why?</div><div><br></div><div>Thanks,</div><div><br></div><div>Wes</div></div>
</blockquote></div><br></div>