Hi Everyone,

I don't know if i'm doing it worng but I have an executable task that I
want to kill at the end of my build.

It seems easy enough to start the executable using something along the
lines of

factory.addStep(steps.ShellCommand(
              
command=["run_my_custom_executable.exe","config_file_for_executable.txt"],
              logfiles={"triallog": {"filename": "c:\\temp\\test.log",
                   HaltOnFailure=True))

I want to kill that executable, so I have tried

factory.addStep(steps.ShellCommand(command=["cmd /c taskkill /im
run_my_custom_executable.exe /f /t]))

but no joy so far, though the command works fine when I type it
directly into the Windows command shell.


Also I wanted to introduce a time delay between steps so I thought I'd
use the Windows timeout shell command


factory.addStep(steps.ShellCommand(command=["cmd /k timeout 30 /nobreak]))

What am i missing?



Regards
_______________________________________________
users mailing list
[email protected]
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to