Sharing triggers among different types of platform

You can define a trigger that fires correctly depending on the type of platform on which it runs (Linux, the UNIX system, and Windows computers). The following techniques are available:

With one technique, you use different paths or different scripts; with the other technique, you use the same script for all platforms. You can also share triggers; see Tips for sharing scripts.