#1795: add python script slave-side command
------------------------+--------------------
Reporter: dustin | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: 0.8.8
Version: 0.8.3p1 | Resolution:
Keywords: sprint |
------------------------+--------------------
Comment (by tom.prince):
Hmm. This could be implemented simply by exposing `sys.executable` to the
master, and then using `ShellCommand` to run it. With `StringDownload` to
get the code there.
Or, we could pass the code to be executed with `-c`. One possible issue
with this, is how newlines are handled. Some code on the twisted buildbot
uses
{{{
#!python
from binascii import unhexlify; exec(unhexlify(b"%s"))
}}}
to avoid dealing with newlines et al in the code to run.
--
Ticket URL: <http://trac.buildbot.net/ticket/1795#comment:3>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits