When I ran
the output is:
Task source: /home/my-username/some dirname with spaces/node_modules/grunt-contrib-connect/tasks/connect.js
When this path contains spaces, the open functionality is not triggered on Ubuntu (12.04).
It took me some time to debug this, so I hope it can be fixed.