[Buildbot-devel] Annoying behavior for ShellCommand under Win32
Dustin J. Mitchell
dustin at zmanda.com
Wed Jan 27 21:15:32 UTC 2010
We have discussed this a bit in #buildbot, and there's a summary on
http://buildbot.net/trac/ticket/377.
Basically, I think that the most sensible thing for Buildbot to do is
just run everything from a batch file - that puts the string to
execute in a frame with which Windows people are very familiar (batch
files), or at least one they can test easily without worrying about
what buildbot/twisted are doing "under the hood".
Jean-Paul provided this link, which makes my eyes bleed:
http://www.autohotkey.net/~deleyd/parameters/parameters.htm
It convinces me that there is no general, correct way to do this. We
could target the quoting to the particular program we're running,
usually cmd.exe, but it's neither clear to me that every target string
can be successfully represented in quoted form, nor that buildbot can
always assume it is running (the same version of) cmd.exe.
Dustin
--
Open Source Storage Engineer
http://www.zmanda.com
More information about the devel
mailing list