Daniel Folkinshteyn 37597bfe94 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.

Conflicts:

	plugins/String/plugin.py
	src/commands.py
2011-08-15 17:24:33 +02:00
..
2011-08-13 23:32:12 +03:00
2011-08-13 23:45:52 +03:00
2011-08-07 11:16:04 +02:00
2011-08-10 14:27:55 +03:00
2011-08-07 11:16:04 +02:00
2011-07-08 00:52:31 +03:00
2011-08-07 11:16:04 +02:00
2011-08-07 11:16:04 +02:00
2011-08-10 14:20:09 +03:00
2011-08-07 11:16:04 +02:00
2011-08-07 11:16:04 +02:00
2011-07-08 13:20:23 +03:00
2011-08-10 14:23:54 +03:00
2011-08-07 11:16:04 +02:00
2011-08-07 11:16:04 +02:00
2011-08-07 11:16:04 +02:00
2011-08-07 11:16:04 +02:00
2011-07-23 18:01:28 +03:00
2011-08-10 15:07:11 +03:00
2011-08-10 14:37:41 +03:00
2011-07-24 17:56:29 +03:00
2011-08-07 11:16:04 +02:00
2011-07-24 16:05:28 +03:00
2011-07-24 16:05:28 +03:00
2011-07-29 19:42:52 +03:00
2011-08-10 13:06:55 +03:00
2011-08-07 20:46:45 +03:00
2011-08-13 23:03:12 +03:00
2011-07-22 02:02:11 +02:00