'Fake L{reactor.spawnProcess}, that logs all the process
arguments and returns a L{DummyProcess}.'

def spawnProcess(self, processProtocol, executable, args=(), env={}, path=None, uid=None, gid=None, usePTY=0, childFDs=None):

    proc = DummyProcess(self, executable, args, env, path, processProtocol, uid, gid, usePTY, childFDs)
    processProtocol.makeConnection(proc)
    self.spawnedProcesses.append(proc)
    return proc
