[Twisted-Python] Need replacement for subprocess.call within a pyAMF method - any suggestions?

2009-11-03 Thread Read Roberts
, "file2", "file3"]) # Open file3, do stuff to the data, save results to file4 subprocess.call(["command2", "file4", "file5"]) # Open file5, convert data to a large string containing XML. return xmlString - Read

Re: [Twisted-Python] Newbie question: can't get getProcessOutput to run from inside a listenTCP service call-back

2009-10-17 Thread Read Roberts
work. Any explanation would be welcome. Thanks, Read Roberts On 10/17/09 1:53 AM, "Nick Joyce" wrote: On 17 Oct 2009, at 05:15, Read Roberts wrote: > I have a Python server using twisted which responds to pyAMF calls > from > Flex/Air applications (following Bruce Eck

[Twisted-Python] Newbie question: can't get getProcessOutput to run from inside a listenTCP service call-back

2009-10-16 Thread Read Roberts
d Python 2.6 and later, a twisted bug is fixed such that I could use subprocess.Popen, and that the next release of AIR will allow direct execv calls. However, for performance issues I still want to call one Python process running a server, and I have to work within a Python 2.5 environment. T