Lines 169-178
Link Here
|
169 |
|
169 |
|
170 |
// synthesize the postgres command |
170 |
// synthesize the postgres command |
171 |
QStringList arguments; |
171 |
QStringList arguments; |
172 |
arguments << QString::fromLatin1( "-w" ) |
172 |
arguments << QString::fromLatin1( "-D%1" ).arg( dataDir ); |
173 |
<< QString::fromLatin1( "-t10" ) // default is 60 seconds. |
|
|
174 |
<< QString::fromLatin1( "start" ) |
175 |
<< QString::fromLatin1( "-D%1" ).arg( dataDir ); |
176 |
|
173 |
|
177 |
mDatabaseProcess = new QProcess; |
174 |
mDatabaseProcess = new QProcess; |
178 |
mDatabaseProcess->start( mServerPath, arguments ); |
175 |
mDatabaseProcess->start( mServerPath, arguments ); |