Skip to content

Conversation

@grissiom
Copy link
Member

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.

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.
@BernardXiong
Copy link
Member

Really good patch!

BernardXiong added a commit that referenced this pull request May 25, 2014
@BernardXiong BernardXiong merged commit 69621ff into RT-Thread:master May 25, 2014
@grissiom grissiom deleted the win32spawn branch May 26, 2014 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants