This problem does not occur if only the last path segment contains spaces:
I assume that prepending the respective lines in the .bat wrapper files with a @ or even adding an @echo off in the beginning should fix the issue. I will try to file a pull request with such fix.
When executing
emcc.bat -dumpversion
, I would usually just get an output with a version number like3.1.50
:If emsdk is installed within a path that contains spaces, the output contains extra lines:
This extra output of the compiler can cause issues, like for example in the Qt Creator IDE: QTCREATORBUG-29758 QTCREATORBUG-29981
This problem does not occur if only the last path segment contains spaces:
I assume that prepending the respective lines in the .bat wrapper files with a
@
or even adding an@echo off
in the beginning should fix the issue. I will try to file a pull request with such fix.