Ian Bicking: the old part of his blog

Re: What can wsgikit do for you comment 000

BTW, to accomodate pathnames with spaces in them (common on Windows) you may want your reloader code to do something like this

args = ['"' + re.sub('"', r'"', i) + '"' for i in args]

before spawning the subprocess.

I also like to run python -u (if the speed hit matters they shouldn't have the modules checker turned on).

Comment on What can wsgikit do for you comment 000
by Jonathan Ellis

Comments:

eh, your wiki nuked the backslash in that sub() call.
# Jonathan Ellis

What happens if you use literal block text, like so:

\bleh

Yep. Seems to work.

# Chad Walstrom