'Run a script through the C{filter} executable.
@type env: A L{dict} of L{str}, or L{None}
@param env: The environment variables to pass to the process that will
get spawned. See
L{twisted.internet.interfaces.IReactorProcess.spawnProcess}
for more information about environments and process creation.
@type request: L{twisted.web.http.Request}
@param request: An HTTP request.
@type qargs: A L{list} of L{str}
@param qargs: The command line arguments to pass to the process that
will get spawned.'

def runProcess(self, env, request, qargs=[]):

    p = CGIProcessProtocol(request)
    self._reactor.spawnProcess(p, self.filter, ([self.filter, self.filename] + qargs), env, os.path.dirname(self.filename))
