def spawn(self, executable, args=(), env={}, path=None, usePTY=0,
              childFDS={0:'w',1:'r',2:'r'}):
        #make sure to take care of the environment
        _env = os.environ.copy()
        _env.update(env)
        env = _env.copy()
        
        d = defer.Deferred()
        f = _InstanceFactory(self.reactor, self.protocolClass(*self.args,
                             **self.kwargs), d)

        self.reactor.spawnProcess(f.buildProtocol(None), executable, args=args,
                     env=env, path=path, usePTY=usePTY)
        return d #return our deferred
Adding application clientCreator to ClientCreator
dataset/ETHPy150Open OrbitzWorldwide/droned/droned/lib/droned/clients/__init__.py/MyClientCreator.spawn