Daniel Folkinshteyn a2985c37d6 Create a commands.process function which runs a function inside a separate process.
This is the only way to limit the execution time of a possibly long-running python statement.
Use this on String.re, due to the possibility of pathologically long re matching in python.
This allows us to remove the 'trusted-only' restriction on string.re.
In the future, this should probably be used in other places that take user-supplied regexps,
such as 'misc last --regexp', for example, as well as other potentially long-running tasks
that can block the bot.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-10-15 21:19:34 -04:00
..
2012-09-01 10:16:48 -04:00
2012-09-04 22:36:20 -04:00
2012-09-04 22:37:00 -04:00
2012-09-04 22:50:44 -04:00
2012-09-01 10:16:48 -04:00
2012-09-04 22:50:44 -04:00
2012-09-01 10:16:48 -04:00
2012-09-04 22:50:44 -04:00
2012-09-04 22:50:44 -04:00
2012-09-04 22:50:44 -04:00
2012-09-04 22:50:44 -04:00
2012-09-04 22:50:44 -04:00
2012-09-04 22:50:44 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2009-11-04 22:54:46 -05:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-05 21:50:42 -04:00
2011-10-23 19:04:12 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-17 22:15:52 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00