[Buildbot-devel] Running Pythonscript

Charles Lepple clepple at gmail.com
Fri Aug 29 12:28:43 UTC 2008


On Thu, Aug 28, 2008 at 2:04 PM, Brian Warner
<warner-buildbot at lothar.com> wrote:
>> I run them in a script called by a ShellCommand. I replaced all the
>> os.system() calls by subprocess.Popen("mycmd",shell=True,stdout=PIPE)
>> this works. But i still wonder why os.system() and os.Popen are
>> ignored.
>
> os.system() and subprocess.Popen frequently do not work in a Twisted-based
> program

Brian,

but is that applicable in a separate process, as called by
ShellCommand? From your description, I imagine Johann would run into
trouble directly adding code to either the master or the slave. But if
I'm not mistaken, ShellCommand creates a new process to run the
script.

-- 
- Charles Lepple




More information about the devel mailing list