On Sun, 09 Apr 2006 14:04:58 +0200, Fabian Steiner <[EMAIL PROTECTED]> wrote:
filter = r'"C:\Python24\python.exe -u"'
What did I do wrong? Any hints?
"filter" is used as the executable argument to spawnProcess - which is a string indicating the file to load the program from. There is no file named '"C:\Python24\python.exe -u"' on your computer, presumably it's "C:\Python24\python.exe". (Remember that file names can have spaces in them.)
In other words, FilteredScript isn't going to do what you want if you need to add the "-u" argument to Python, either on UNIX or on Windows. Luckily the one relevant method it implements is only 3 lines long, so it should serve as a good example for your own CGIScript-derived implementation of process filtering. _______________________________________________ Twisted-web mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
