[00:01] <j4m3s> SpamapS, i can't seem to get this to work. the erlang program has to be detached and there's not a fork being done.
[00:05] <SpamapS> j4m3s: erl can't run in the foreground?
[00:05] <SpamapS> j4m3s: you can't detach without forking
[00:06] <SpamapS> its the definition of detaching.. fork.. parent exits
[00:22] <j4m3s> SpamapS, i put in expect fork but 'stop foo' hangs bc the PID it has is diff than the one running
[00:24] <j4m3s> SpamapS, http://pastie.org/private/m0emxwvlroxbd0di4nyng 
[00:25] <j4m3s> the line i commented out is the what the start.sh script executes it also sets the HOME var
[00:26] <SpamapS> j4m3s: yeah don't use expect fork if you aren't positive that the process forks
[00:26] <SpamapS> things get ugly tha tway
[00:26] <SpamapS> j4m3s: in your case, the process forks once to run the shell script, but who knows what start.sh does
[00:34] <j4m3s_> SpamapS, the line that's commented out i got from the start.sh file