@elextr commented on this pull request.
@@ -631,8 +631,13 @@ static void handle_input_filename(const gchar *buf)
{ if (g_str_has_suffix(locale_filename, ".geany")) { - if (project_ask_close()) - main_load_project_from_command_line(locale_filename, TRUE); + /* Don't open project when it is already opened */ + if (app->project != NULL && + g_strcmp0(app->project->file_name, locale_filename) != 0)
I think `app->project->file_name` is a UTF-8 filename, not a locale filename, so they might not compare in non-UTF-8 locales