mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
* os.C: #include "os_win32.h" for _WIN32.
* systemcall.C: The "/n" in "start /min/n" makes no sense under DOS. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9367 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8ac5137961
commit
fb28ff9e2a
@ -1,3 +1,10 @@
|
||||
2004-12-14 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* os.C: Add _WIN32 to the #define.
|
||||
|
||||
* systemcall.C (startscript): remove trailing '/n' from request to
|
||||
start the command in a minimized window under DOS.
|
||||
|
||||
2004-12-14 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#ifdef __EMX__
|
||||
#include "os_os2.C"
|
||||
#elif defined(__CYGWIN__) || defined(__CYGWIN32__)
|
||||
#elif defined(__CYGWIN__) || defined(__CYGWIN32__) || defined(_WIN32)
|
||||
#include "os_win32.C"
|
||||
#else
|
||||
#include "os_unix.C"
|
||||
|
@ -33,10 +33,13 @@ int Systemcall::startscript(Starttype how, string const & what)
|
||||
string command = what;
|
||||
|
||||
if (how == DontWait) {
|
||||
if (os::shell() == os::UNIX) {
|
||||
switch (os::shell()) {
|
||||
case os::UNIX:
|
||||
command += " &";
|
||||
} else {
|
||||
command = "start /min/n " + command;
|
||||
break;
|
||||
case os::CMD_EXE:
|
||||
command = "start /min " + command;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user