Buildalyzer icon indicating copy to clipboard operation
Buildalyzer copied to clipboard

Question/Feature request: Cancelling build

Open prochnowc opened this issue 5 years ago • 1 comments

First of all, thanks for the nice library.

I have a small toy project where I am building several projects in parallel. If the first build fails I want to cancel all other pending builds - is there a possibility to cancel a build?

Thanks!

prochnowc avatar Nov 23 '20 15:11 prochnowc

Unfortunately there isn't a great way to do this right now (at least not that I can think of - happy for suggestions here!). Because Buildalyzer "shells out" to MSBuild we've got very limited control over the forked process. We could always try to kill it, but that's really ungraceful (though maybe that's actually what we need to do). There's also a chance that sending something like a Ctrl+C combination over standard input could do the trick.

I can give this a little thought, but may not get around to an implementation for a while.

daveaglick avatar Dec 20 '20 19:12 daveaglick