When the user folder contains a space, fixes the problem that launcher run will not start the tray launcher.
When starting the tray launcher, if it can make a connection to the nominal tray launcher port but cannot finish sending data, still starts the tray launcher as it indicates that the program occupying the TCP port is not a tray launcher instance. @danhuaxu I am less sure about this fix and did not test this.
Fixes two things:
launcher run
will not start the tray launcher.