CmdMapper is a script for the model railway control software JMRI. It's goal is to automatically forward turnout commands received from an interface to a different one.
# This is an example of running a command from JMRI scripting and getting a result back: ...