I'm writing cross-platform scripts that are executing utilities and some of them are windows executables.
I would like to find a solution that would not require me to prepend the command line with wine when I run from OS X.
I know that on Windows it is possible to define executable files based on file extension but I would like to know if this is possible to do on OS X and how.
I am open to suggestions ;)
