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.
16 #include "support/Systemcall.h"
17 #include "support/os.h"
27 int Systemcall::startscript(Starttype how, string const & what)
29 string command = what;
31 if (how == DontWait) {
32 switch (os::shell()) {
37 command = "start /min " + command;
42 return ::system(command.c_str());
45 } // namespace support