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:01 |
---|---|---|
SpamapS | j4m3s: erl can't run in the foreground? | 00:05 |
SpamapS | j4m3s: you can't detach without forking | 00:05 |
SpamapS | its the definition of detaching.. fork.. parent exits | 00:06 |
j4m3s | SpamapS, i put in expect fork but 'stop foo' hangs bc the PID it has is diff than the one running | 00:22 |
j4m3s | SpamapS, http://pastie.org/private/m0emxwvlroxbd0di4nyng | 00:24 |
j4m3s | the line i commented out is the what the start.sh script executes it also sets the HOME var | 00:25 |
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:26 |
j4m3s_ | SpamapS, the line that's commented out i got from the start.sh file | 00:34 |
=== j4m3s_ is now known as j4m3s | ||
=== JanC is now known as Guest57134 | ||
=== broder_ is now known as broder | ||
=== JanC_ is now known as JanC |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!