[Tutor] Executing a C Program from RH Linux in Python for Win
alan.gauld at btinternet.com
Thu Mar 19 11:55:16 CET 2009
> likely will allow the user to enter the
12 or so parameters
> on the command line, and execute the program as
> I had entered it at a Linux prompt.
OK, In that case you only need the call() convenience function from
the subprocess module. Capture the arguments in your GUI and build
the command options into a list. Pass that to subprocess.call()
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor