From: bob@... (Bob Proulx) Date: 2007-09-12T14:20:15+09:00 Subject: Re: Threads and daemons Cd Cd wrote: > I see > Welcome to PARTY! Type '?' for help: You said it was a daemon? But the above looks like an interactive program to me. The %x{...} will wait for the program to exit and take the output that it collected and assign it or garbage collect it. But if your program is interactive and does not exit then the %x{...} can't either since it needs to wait for it to exit. If you want your "party" program to be a daemon then it needs to be modified to be a non-interactive daemon program. > When I step through the program via the ruby debugger. Sometimes ill see > the same thing when I run the program. It varies from run to run Varying run to run does not sound good either. Bob