If this feature is available, execute-debug will
be advertised. Only one such plumbing is available.
+ <tfd> may be 1 or 2, in which case no output will
+ be written to the <stdout> or <stderr> files.
+
* Commands
copydown <host-tree> <testbed-path>
copyup <testbed-tree> <host-path>
gobody = " import sys\n"
stdout = None
+ tfd = None
if debug_g:
(tfd,hfd) = m.groups()
gobody += " os.dup2(1,%d)\n" % int(tfd)
stdout = int(hfd)
for ioe in range(3):
+ if ioe == tfd: continue
gobody += " setfd(%d,'%s',%d)\n" % (
ioe, ce[ioe+2], ioe>0 )
gobody += " os.chdir(urllib.unquote('" + ce[5] +"'))\n"