projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d6eacb2
)
sleep while waiting for the spawned process to terminate so that we don't eat 100...
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 1 Apr 2002 21:31:27 +0000
(21:31 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 1 Apr 2002 21:31:27 +0000
(21:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14891
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/utilsexc.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/utilsexc.cpp
b/src/msw/utilsexc.cpp
index db09033338e6bc8ac10f3077eb37146cf0741e49..21b74439c33f7289e21634a72d3428fe4a1c592e 100644
(file)
--- a/
src/msw/utilsexc.cpp
+++ b/
src/msw/utilsexc.cpp
@@
-735,7
+735,11
@@
long wxExecute(const wxString& cmd, int flags, wxProcess *handler)
#endif // wxUSE_GUI
while ( data->state )
#endif // wxUSE_GUI
while ( data->state )
+ {
+ // don't take 100% of the CPU
+ ::Sleep(500);
wxYield();
wxYield();
+ }
#if wxUSE_GUI
}
#if wxUSE_GUI
}