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"
25 int Systemcall::startscript(Starttype how, string const & what)
27 string command = what;
29 if (how == DontWait) {
30 if (os::shell() == os::UNIX) {
33 command = "start /min/n " + command;
37 return ::system(command.c_str());