[Distutils] Re: swig 1.3.x

Jack Jansen Jack.Jansen@cwi.nl
Mon Jan 6 12:05:51 2003


On Friday, Jan 3, 2003, at 23:31 Europe/Amsterdam, Keith Jackson wrote:
>
> What is the right non-platform specific way to execute a command, and 
> get the output back? The distutils spawn command doesn't return the 
> output, and popen doesn't exist on Macs. I don't normally work with 
> Macs, so any suggestions would be appreciated.

You won't get this to work on MacOS9. The best solution is probably to 
tell the user what the unix command line would have been (preferably in 
a dialog, but a print is probably okay too) and exit.
--
Jack Jansen, <Jack.Jansen@cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 
Goldman