diff --git a/zone/command.cpp b/zone/command.cpp index 6dd380975..58cf8e876 100755 --- a/zone/command.cpp +++ b/zone/command.cpp @@ -12832,10 +12832,10 @@ void command_hotfix(Client *c, const Seperator *sep) } if (hotfix_name.length() > 0) { - if (system(StringFormat("%s -hotfix=%s", shared_memory_path.c_str(), hotfix_name.c_str()).c_str())) {} + if (system(StringFormat("\"%s\" -hotfix=%s", shared_memory_path.c_str(), hotfix_name.c_str()).c_str())) {} } else { - if (system(StringFormat("%s", shared_memory_path.c_str()).c_str())) {} + if (system(StringFormat("\"%s\"", shared_memory_path.c_str()).c_str())) {} } #else shared_memory_path = "./shared_memory";