[users at bb.net] Running ShellCommand on windows

honas grael honasgraeymael at gmail.com
Tue Feb 23 22:13:48 UTC 2016


Hello,
I'm running buildbot on windows 7, these are my first steps, so far I've
followed the tutorials and they've been quite ok.
I am struggling a little with ShellCommand, I am trying to run an
executable from the commandline and pass it a parameter.

so from the command line in windows I would type

C:\Path\To\MyExecutable.exe fileparam1.txt

to do this I have a step as follows:
f.addStep(steps.ShellCommand(command=["C:\Path\To\MyExecutable.exe",
"fileparam1.txt"]))

But I keep getting startCommand errors.
Am I using the shell command correctly here. I'm sure I'm missing something
very obvious here

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160223/0aeee0fa/attachment.html>


More information about the users mailing list