Mailinglist Archive: opensuse-buildservice (131 mails)

< Previous Next >
Re: [opensuse-buildservice] preliminary osc patch to add "createpacfromsrcrpm" cmd
  • From: James Oakley <jfunk@xxxxxxxxxxxxxx>
  • Date: Thu, 21 Dec 2006 09:42:30 -0400
  • Message-id: <200612210942.30535.jfunk@xxxxxxxxxxxxxx>
On Thursday 21 December 2006 6:25 am, Gernot Hillier wrote:
> Hmmm, Python has popen and friends, but I had a lot of problems with them
> back in my CapiSuite project (some years ago, though...). So I don't feel
> like risking stability for a few CPU cycles yet...

commands.getstatusoutput() returns a 2-tuple of the return code and the
output.

--
James Oakley
jfunk@xxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >