Describe the bug
Detached execution is not working on Windows 10 with clang
To Reproduce
- Run detached and instead of launching program it says 'C:/Users/
<name>/AppData/Local/Temp/CP" "Editor-iGoJIc/sol' is not recognized as an internal or external command,
operable program or batch file.
Screenshots
Environment
Windows 10 21H1
Build from master (4756571)
Additional context
The problem is no related with spaces in path to executable, it seems to be related with the fact that cmd can only execute programs with ending .exe.
A compile command like g++ hello.cpp -o hello produces hello.exe however, clang++ hello.cpp -o hello it produces hello.
To be on safe side we can pass the path with suffix (exe) and it produces correct binary for both the compilers.
Describe the bug
Detached execution is not working on Windows 10 with clang
To Reproduce
<name>/AppData/Local/Temp/CP" "Editor-iGoJIc/sol' is not recognized as an internal or external command,operable program or batch file.
Screenshots
Environment
Windows 10 21H1
Build from master (4756571)
Additional context
The problem is no related with spaces in path to executable, it seems to be related with the fact that
cmdcan only execute programs with ending.exe.A compile command like
g++ hello.cpp -o helloproduceshello.exehowever,clang++ hello.cpp -o helloit produceshello.To be on safe side we can pass the path with suffix (exe) and it produces correct binary for both the compilers.