Fixed problem with shell when .m2 is in a path with spaces