BOM exporter saves file to root drive instead of project dir (also wrong "slash" character in stock command line)
Description
Steps to reproduce
- Launsh standalone ee, place symbol, annotate;
- Click save icon, save file to "D:\tmp\123.kicad_sch";
- Tools -> Generate BOM, select any of two default bom scripts, see screenshot:
- Click "Generate".
- BOM is created in root drive (D:, in my case, not in D:\tmp). Also, see wrong last slash "/" in default "Command line" field.
KiCad Version
Application: KiCad Schematic Editor
Version: (5.99.0-10226-g7d58c53e42), release build
Libraries:
wxWidgets 3.1.4
libcurl/7.74.0-DEV Schannel zlib/1.2.11
Platform: Windows 10 (build 19042), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Apr 11 2021 12:13:21
wxWidgets: 3.1.4 (wchar_t,STL containers)
Boost: 1.75.0
OCC: 7.5.0
Curl: 7.74.0-DEV
ngspice: 34
Compiler: Visual C++ 1928 without C++ ABI
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Edited by WhiteChairFromIkea