Text editor path broken under Windows
Attempt to open a text file from within the project explorer displays warning message that the editor was not found, and requests to point to an executable of the editor. When pointed to editor installed in "Program files" folder, the path name is truncated at first space "c:\program" not found.
Description
Expect to be able to provide a path containing spaces in the name.
Steps to reproduce
- Attemp to point to editor executable installed in a folder with name containing space
- Watch the message.
KiCad Version
Application: KiCad (64-bit)
Version: (5.99.0-12449-g65c9170b46), release build
Libraries:
wxWidgets 3.1.5
libcurl/7.78.0-DEV Schannel zlib/1.2.11
Platform: Windows 10 (build 19042), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Sep 21 2021 08:59:58
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.76.0
OCC: 7.5.0
Curl: 7.78.0-DEV
ngspice: 35
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON