mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +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/branches/BRANCH_1_3_X@9368 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f2240515c7
commit
2237e799ed
@ -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 (INCLUDES): Remove trailing slash from -Ifoo/
|
||||
|
@ -2,7 +2,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"
|
||||
|
@ -28,10 +28,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