pogosheep/IRC-Bot — Issue #8: Add a reboot command
Author: pogosheep
Created: 2012-01-11 20:29:22+00:00
State: open

Currently the bot can restart.

But there is no way to restart the script with code changes.
That will be a nice feature.

A example how to solve this problem is discussed on the following page: http://debuggable.com/posts/restarting-a-php-command-line-script:4988968d-b9d0-4fe8-af30-05544834cda3
> Well it works for the Browser at the moment. I just set up the command line in the IDE, and tested it now. Now I see what you mean. I think we just need to add a config detail to set if you are using the Browser or CLI
>
> I am not sure if your initial code 6a57a84 works the way it needs to. Looks like it reconnects to the server, but it probably needs to stop completely and restart so it can take in any code changes.
>
> I'm going to try a few things. The timeout and restart commands are one that need fixing.

Reference to the issue #5