In the cache maintenance function, put double quotes around the path
variable.
}
else
{
- log_printf("The specified folder can not be found: %s\n", path);
+ log_printf("The specified folder can not be found: \"%s\"\n", path);
}
}
else
{
- cmd_line = g_strdup_printf("%s --cache-maintenance %s", gq_executable_path, path);
+ cmd_line = g_strdup_printf("%s --cache-maintenance \"%s\"", gq_executable_path, path);
g_spawn_command_line_async(cmd_line, NULL);