/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
+ * ======================================================
+ *
+ * LyX, The Document Processor
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
* This file is Copyright 1997-1998
* Asger Alstrup
*
- * ======================================================
+ * ======================================================
*/
#include <config.h>
#include "support/FileInfo.h"
#include "support/filetools.h"
-#include "support/syscall.h"
-#include "support/syscontr.h"
+#include "support/systemcall.h"
#include "support/path.h"
#include "support/lstrings.h"
// run bibtex
string log = OnlyFilename(ChangeExtension(file, ".log"));
string tmp = cmd + " -q -v0 -b0 -x " + file + " -o " + log;
- Systemcalls one;
- int result= one.startscript(Systemcalls::System, tmp);
+ Systemcall one;
+ int result= one.startscript(Systemcall::Wait, tmp);
if (result == 0) {
result = scanLogFile(terr);
} else {