[Buildbot-devel] win32 create process info

Brian Warner warner-buildbot at lothar.com
Tue Apr 26 05:37:09 UTC 2005


> So, to summarize, it seems that if buildbot is going to use the win32  
> reactor then either full paths will be needed or the command call will  
> have to be changed to have cmd.exe be the application name and trial be  
> part of the command line parameters.  cmd.exe searches the path and  
> honors the PATHEXT settings.

Is this sort of a windows equivalent to the unix "/bin/sh -e command argv.."
pattern? If so, do you think it would work to have the windows buildslave
just do 'command.insert(0, "cmd.exe")' on the array of strings being passed
over from the buildmaster?

If that lets command[0] be searched for on the PATH, and doesn't require
shell-escaping spaces and stuff, maybe it would be the best answer. You
wouldn't normally do that on the unix side because you'd have to specify the
arguments as one flat string instead of an array of argv values.. is there
any down-side to always using cmd.exe under windows?

thanks,
 -Brian




More information about the devel mailing list