Follow-up to the Jesse Glick's question during the demo on April 13. It can be more or less easily done by checking system environment variables (e.g. "WINSW_EXECUTABLE").
The only problem is to make sure these vars do not get propagated to child processes (e.g. Jenkins buildd within Jenkins)