Asger's suggestion on how to fix the .bat file properly.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10111 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-06-30 09:33:43 +00:00
parent 3e54d8b6bf
commit 94d48adad8

View File

@ -275,7 +275,7 @@ int create_bat_files(std::string const & bin_dir, std::string const & lang)
<< "if \"%LANG%\"==\"\" SET LANG=" << lang << "\n";
std::string const lyx_exe_file = bin_dir + "\\lyx.exe";
if (!write_bat(lyx_bat, "\"" + lyx_exe_file + "\""))
if (!write_bat(lyx_bat, "start \"LyX\" \"" + lyx_exe_file + "\""))
return -1;
std::string const relyx_bat_file = bin_dir + "\\reLyX.bat";