[Buildbot] #2878: Windows escaping seem to produce problems
Buildbot trac
trac at buildbot.net
Wed Mar 18 09:40:44 UTC 2015
#2878: Windows escaping seem to produce problems
--------------------+--------------------
Reporter: sa2ajj | Owner:
Type: defect | Status: new
Priority: major | Milestone: 0.9.+
Version: 0.8.9 | Resolution:
Keywords: windows |
--------------------+--------------------
Comment (by JustAMan):
That is completely untrue :) subprocess could spawn as much processes at a
time as you need - just don't do .call() or .wait() unconditionally after
subprocess.Popen().
Why I'm asking this is that subprocess handles quoting and stuff
internally and is widely-tested given it's included in Python standard
library, so IMHO it's much better to rely on this functionality rather
than write some code that you cannot even test good enough since you lack
Windows resources...
I see some more bugs that I think all could be resolved by switching to
subprocess (at least on Windows).
P.S. Moving to Job Objects is a bad choice since there could be no nested
Job Objects, and you cannot guarantee that a program you launch isn't
using Job Objects inside.
--
Ticket URL: <http://trac.buildbot.net/ticket/2878#comment:10>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list