Passing a directory to --python would run it as a script without errors since the directory would read as an empty file. Raise an error instead because this is what Python it's self does. This would already happen on WIN32 because the stub script was executing the file from Python.