512:adab82ab13a5 | 513:29eb671b34f6 |
---|---|
214 path = "wine"; | 214 path = "wine"; |
215 } | 215 } |
216 | 216 |
217 #endif // _WIN32 | 217 #endif // _WIN32 |
218 | 218 |
219 print ("cmdline: %1 %2\n", path, argv.join (" ")); | 219 log ("cmdline: %1 %2\n", path, argv.join (" ")); |
220 | 220 |
221 // Temporary files for stdin and stdout | 221 // Temporary files for stdin and stdout |
222 if (!mkTempFile (input, inputname) || !mkTempFile (output, outputname)) | 222 if (!mkTempFile (input, inputname) || !mkTempFile (output, outputname)) |
223 return false; | 223 return false; |
224 | 224 |
236 | 236 |
237 // Wait while it runs | 237 // Wait while it runs |
238 proc.waitForFinished(); | 238 proc.waitForFinished(); |
239 | 239 |
240 #ifndef RELEASE | 240 #ifndef RELEASE |
241 print ("%1", str (proc.readAllStandardOutput())); | 241 log ("%1", str (proc.readAllStandardOutput())); |
242 #endif // RELEASE | 242 #endif // RELEASE |
243 | 243 |
244 str err = ""; | 244 str err = ""; |
245 | 245 |
246 if (proc.exitStatus() != QProcess::NormalExit) | 246 if (proc.exitStatus() != QProcess::NormalExit) |