Pardon the n00b question, but is there a convenient way to make winstone do a hard exit with non-zero value, if it fails to bind to a port (i.e. another instance is running)?
The only way I found on the web is
which is a bit hacky.
Does anyone have a suggestion?