Jobset - Generation fails if Text Variable used as first element of filename
Description
When text variable is first element of filename, Jobset fails to run.
Expected - Jobset completes
Steps to reproduce
-
Set
"output_filename": "Board Stats\\${DRAWING_NUMBER}_${REVISION}_Stats.txt", -
Run the jobset - It fails
-
Set
"output_filename": "Board Stats\\Generated_${DRAWING_NUMBER}_${REVISION}_Stats.txt", -
Run the jobset - It succeeds
KiCad Version
Application: KiCad x64 on x64
Version: 10.0.0, release build
Libraries:
wxWidgets 3.3.2
FreeType 2.13.3
HarfBuzz 12.3.0
FontConfig 2.17.1
libcurl/8.18.0 Schannel zlib/1.3.1
Platform: Windows 11 (build 26200), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) Graphics, 4.6.0 - Build 32.0.101.8332
Build Info:
Date: Mar 19 2026 23:22:59
wxWidgets: 3.3.2 (wchar_t,STL containers)
Boost: 1.90.0
OCC: 7.9.2
Curl: 8.18.0
ngspice: 45.2
Compiler: Visual C++ 1944 without C++ ABI
KICAD_IPC_API=ON
KICAD_USE_PCH=OFF
Locale:
Lang: en_GB
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
