Add external command testing and executing capabilities. These attempt to do the right thing even under cygwin on Windows, as well as Mac, Linux and standard Windows.