Skip to content

Commit

Permalink
- fixes to errors when starting on Windows.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8096 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Mar 4, 2011
1 parent 41fbce9 commit daf6f8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OMNotebook/OMNotebookQT4/omcinteractiveenvironment.cpp
Expand Up @@ -230,12 +230,12 @@ namespace IAEX
omcProcess->start( omc, parameters );

// give time to start up..
if( omcProcess->waitForStarted(20000) )
if( omcProcess->waitForStarted(30000) )
flag = true;
else
flag = false;
#ifdef _MSC_VER
_sleep(1);
_sleep(10);
#else
sleep(1);
#endif
Expand Down

0 comments on commit daf6f8f

Please sign in to comment.