mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-15 16:49:55 +08:00
66ac9821de
Windows(tm) CreateProcess does not use the env passed to it to find the executables. So we have to modify our own PATH to make Popen work. Also, detect the cmd build-in commands and execute it directly. Tested on MDK toolchain on RB4088 and the MSVS toolchain on simulator BSP.