> -Original Message-
> From: [EMAIL PROTECTED] [mailto:python-
> [EMAIL PROTECTED] On Behalf Of raocheng
> Sent: Friday, January 18, 2008 6:31 AM
> To: python-list@python.org
> Subject: How to use only a sub shell to execute many commands in
python
>
> Please see the following code.
> Supp
En Fri, 18 Jan 2008 09:31:25 -0200, raocheng <[EMAIL PROTECTED]> escribi�:
> Please see the following code.
> Suppose I have many shell commands to be executed. And I don't want to
> fork a sub shell for each command(eg: status,output =
> commands.getstatusoutput(cmd)) because it is too expensive.