Revision: | 1084 |
Committed: | 2008-08-21T19:45:28-07:00 (16 years, 10 months ago) by douglas |
File size: | 423 byte(s) |
Log Message: | Menes has strange errors; I'll probably completely replace this with Python at some point anyway, grr! |
# | Content |
---|---|
1 | #!/usr/local/bin/python |
2 | # Feeping Creaturism |
3 | # |
4 | # Douglas Thrift |
5 | # |
6 | # $Id$ |
7 | |
8 | import cgi |
9 | import cgitb |
10 | import sys |
11 | import os |
12 | |
13 | cgitb.enable() |
14 | |
15 | form = cgi.FieldStorage() |
16 | args = sys.argv |
17 | |
18 | if form.getfirst('include') in ('true', '1'): |
19 | args.append('include') |
20 | |
21 | relative = form.getfirst('relative') |
22 | |
23 | if relative is not None: |
24 | args += ('relative', relative) |
25 | |
26 | os.execv(os.path.join(os.path.dirname(__file__), 'FeepingCreaturism'), args) |
Name | Value |
---|---|
svn:executable | * |
svn:keywords | Id |
svn:mergeinfo |