If the display name or working directory contain spaces, the app won't run. Fixed to use shlex.split instead of just split. And enclosed working dir and display name in quotes.
Thank you for your PR! I think there might still be issues if paths have " in their names (which should not be allowed, but, alas, it happens), but we'll leave that for another time.
If the display name or working directory contain spaces, the app won't run. Fixed to use shlex.split instead of just split. And enclosed working dir and display name in quotes.