3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Asger Alstrup
8 * Interface cleaned up by
9 * \author Angus Leeming
11 * Full author contact details are available in file CREDITS
17 #pragma implementation
20 #include "systemcall.h"
25 #ifndef CXX_GLOBAL_CSTD
30 int Systemcall::startscript(Starttype how, string const & what)
32 string command = what;
34 if (how == DontWait) {
35 if (os::shell() == os::UNIX) {
38 command = "start /min/n " + command;
42 return ::system(command.c_str());