upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorezbyDev <198480541+ezbyDev@users.noreply.github.com>2026-11-22 22:04:17 +0100
committerezbyDev <198480541+ezbyDev@users.noreply.github.com>2026-11-22 22:04:17 +0100
commit8599cfccd39e4286298b3a519fc1a62186c07ff5 (patch)
treeb1e22321d3e341247ef62cb1af849daceb6e49b4 /runtime/src/pe_loader.cpp
parentf847748cc76bd3777f9c070c4034eb2fc1c04e64 (diff)
hw_oracle: start build_hw_oracle.cmd as .\ from the work folder
build_command() returned `cmd.exe /d /c <full path of build_hw_oracle.cmd>` for the vcvars toolchain. cmd.exe loses a full path's quotes when it holds & or ^ (and list2cmdline adds none when there is no space), so from a work folder such as `a & b`, `a&b` or `x^y` the script never ran and the oracle reported that hw_oracle.c did not build. The only caller already runs the command with cwd=self.workdir, the folder the script is written to, so it now starts `.\build_hw_oracle.cmd`, which NoDefaultCurrentDirectoryInExePath does not block either. tests/test_hw_oracle.py runs the returned command on a stub vcvars from plain, `sp (x)`, `a & b`, `a&b`, `x^y` and Turkish-named work folders with that variable set, and the tests that read the script open it from the work folder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions