in reply to Why won't it die??

If you run ircd and wrecked at the command-line prompt (as user "dsirc"), do they do something and then exit right away, or do they keep running until you kill or suspend them?

If they keep running, use a system call with a single quoted string for the whole command line (not back ticks), and include an ampersand "&" as the last token on the command string, so as to run the process in the background.

Replies are listed 'Best First'.
Re: Re: Why won't it die??
by Anonymous Monk on Aug 22, 2002 at 03:26 UTC
    To answer your question, ircd spits out some confirmation info, then exits, and wrecked just exits after you run the command.

    Now, odly enough, rewriting the code simmilar to how Aristotle has it above actually corrected the problem! Must have been some corruption of some kind with the using the backtics, thats all I can figure. The once again proves that a function was coded in for a reason, so use it!!

    Thanks Guys!