mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-11 19:18:57 +00:00
quote the config file name on non-windows platforms, too
This commit is contained in:
parent
a8f6295926
commit
897a733e92
@ -1166,7 +1166,7 @@ void game_controller::start_wesnothd()
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
std::string command = "\"" + wesnothd_program +"\" -c " + config + " -d -t 2 -T 5 ";
|
||||
std::string command = "\"" + wesnothd_program +"\" -c \"" + config + "\" -d -t 2 -T 5";
|
||||
#else
|
||||
// start wesnoth as background job
|
||||
std::string command = "cmd /C start \"wesnoth server\" /B \"" + wesnothd_program + "\" -c \"" + config + "\" -t 2 -T 5";
|
||||
|
Loading…
x
Reference in New Issue
Block a user