def getProcessOutputAndValueWithInput(executable, args, input):
 d = defer.Deferred()
 p = _SubprocessProtocol(input, d)
 (executable, args) = encodeExecutableAndArgs(executable, args)
 reactor.spawnProcess(p, executable, ((executable,) + tuple(args)))
 return d

def getProcessOutputAndValueWithInput ( executable , args , input ) : d = defer . Deferred ( ) p = _SubprocessProtocol ( input , d ) ( executable , args ) = encodeExecutableAndArgs ( executable , args ) reactor . spawnProcess ( p , executable , ( ( executable , ) + tuple ( args ) ) ) return d
similar to getprocessoutputandvalue .