Use the exec command. The command will block until the child process terminates. Thus your eggdrop will stop responding until the command stops blocking, and may cause your eggdrop to disconnect (ping timeout). Any output from the program will be returned once the command completes.
Use open with pipes. The command will return instantly. Any further interaction with the process will be done through the created file handle and the normal commands for file interactions.