Running test_base
on Windows 11 fails the wxExecute and wxProcess related tests because mspaint is not in the path. mspaint on Windows 11 is in %LOCALAPPDATA%\Microsoft\Apps
which may not be in the user's path (it wasn't in mine) instead of in the system directory like it was on previous versions of windows and that can cause these tests to fail.
It's probably better to control the program being run by building one in wxwidgets itself to use for the test. Then the tests wouldn't be dependent on the environment and the path to the wxwidgets built test program can be obtained with a CMake configure_file
where mspaint
says INFO: Could not find files for the given **pattern(s).**
ASYNC_COMMAND
in tests\exec\exec.cpp
will failace3d4d936 2025-09-18 vadim Merge branch 'cmake-lib' of github.com:MaartenBent/wxWidgets
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Thanks for reporting this. If there is some other command we could use which is still in PATH, I'd just use it instead for simplicity... Note that we can't use Notepad (see #23365).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Yeah, I tried hacking it to use notepad and saw the same issue.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
I have run where $path:*.exe
and there don't see be many suitable candidates (i.e., Win32 apps available on all supported Windows versions) these days.
AFAICT, we need only to (a) launch and (b) kill this process, so no interaction is needed.
So, what about charmap.exe
? There is also msinfo32.exe
.
BTW, I do have the local app data folder in the PATH on Windows 11 Pro 24H2.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.