3 * Copyright 2002 the LyX Team
4 * Read the file COPYING
6 * \author Asger Alstrup
8 * Interface cleaned up by
9 * \author Angus Leeming <a.leeming@ic.ac.uk>
15 #pragma implementation
18 #include "systemcall.h"
23 #ifndef CXX_GLOBAL_CSTD
28 int Systemcall::startscript(Starttype how, string const & what)
30 string command = what;
32 if (how == DontWait) {
33 if (os::shell() == os::UNIX) {
36 command = "start /min/n " + command;
40 return ::system(command.c_str());