用户可利用此项目开发单实例应用,确保程序仅运行一次,后续调用能立即退出或向运行实例发送命令。它支持多种后端编译,可根据平台选择不同 IPC 机制。【此简介由AI生成】
Access rate limit exceeded. Please log in to continue.
LibUnique is a library for writing single instance applications, that is applications that are run once and every further call to the same binary either exits immediately or sends a command to the running instance.
LibUnique can be compiled against various backends, to allow the usage of different IPC mechanisms depending on the platform.
Project page: http://live.gnome.org/LibUnique Main repository: git://git.gnome.org/unique
Copyright (C) 2007,2008,2009 Emmanuele Bassi
Part of the API and design is based on GUniqueApp, by Vytautas Liuolia. The "bacon" backend is based on BaconMessageConnection, by Bastien Nocera.