We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc53e4a commit ab0dc64Copy full SHA for ab0dc64
refresh.template.py
@@ -786,7 +786,9 @@ def get_workspace_root(path_from_execroot: pathlib.PurePath):
786
787
# We run the emcc process with the environment variable EM_COMPILER_WRAPPER to intercept the command line arguments passed to `clang`.
788
emcc_process = subprocess.run(
789
- [emcc_driver] + compile_args[1:],
+ # On windows, it fails to spawn the subprocess when the path uses forward slashes as a separator.
790
+ # Here, we convert emcc driver path to use the native path separator.
791
+ [str(emcc_driver)] + compile_args[1:],
792
# MIN_PY=3.7: Replace PIPEs with capture_output.
793
stdout=subprocess.PIPE,
794
stderr=subprocess.PIPE,
0 commit comments