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 "systemcall.h"
23 #ifndef CXX_GLOBAL_CSTD
31 int Systemcall::startscript(Starttype how, string const & what)
33 string command = what;
35 if (how == DontWait) {
36 if (os::shell() == os::UNIX) {
39 command = "start /min/n " + command;
43 return ::system(command.c_str());
46 } // namespace support