[Distutils] Python module to: Talk to stdout/stdin for 64-bit Windows/Linux C++ application?

David Arnold david at mantara.com
Sun May 13 04:59:39 CEST 2007


-->"Peter" == Mowry, Peter <peter.mowry at amd.com> writes:

  Peter> My team's application does regressions by controlling our
  Peter> 64-bit Windows/Linux C++ application (SimNow,
  Peter> www.amd.com/simnow) via stdout/stdin with ("pexpect" for unix)
  Peter> and (python COM objects) for Windows (b/c popen doesn't work). 
  Peter> However, I am trying to replace this with a unified
  Peter> windows/linux solution.

have you looked at the subprocess module, part of the standard library
in Python 2.4 and later?

  Peter> Does extending python with Disutils sound like the simple and
  Peter> clean way for my goal?  Is there a simple cookbook solution for
  Peter> my goal?

i don't think distutils is what you're after.  distutils is about
producing installers for Python applications.




d


More information about the Distutils-SIG mailing list