Fix race condition in Unix wxExecute() if child exited too quickly.

Check if the child has already finished before starting waiting for it.

Closes #16661.

(cherry picked from commit 1298f5970b)
This commit is contained in:
Kevin B. McCarty
2015-05-09 19:28:04 +02:00
committed by Dimitri Schoolwerth
parent c293c645d7
commit fa19bfa239
2 changed files with 25 additions and 7 deletions

View File

@@ -587,6 +587,7 @@ Unix:
- Fix wxIPaddress::Hostname() failing if /etc/hosts contained very long names.
- Fix wxDateTime::ParseRfc822Date() for some TZ/DST combinations.
- Fix bug in wxExecute() if child exited too quickly (Kevin B. McCarty).
All (GUI):