#one-instance

bin+lib r1

A Linux program which helps run others in one instance

14 releases

0.7.3 Nov 23, 2022
0.7.2 Nov 21, 2022
0.6.4 Jan 29, 2021
0.5.0 Aug 14, 2020
0.1.0 Jul 18, 2019

#1290 in Command line utilities

29 downloads per month

LGPL-3.0-or-later

23KB
240 lines

R1

Project

Features

This project offers a program via bin feature. The program helps run one single instance of any program.

For more details, please run the program with help command.

Currently all features are tested only on Linux. On other Unix systems, the program might or might not work.

Why?

For example, Qt Creator can run multiple instances. Sometimes you don't want that. Unfortunately there's no setting to tell it to run just one single instance.

There are 2 solutions:

  1. You can file a feature request (with a picture of your cat in it), and start praying for it to be accepted.

    This could take some time. But it's probably not one day. It's not 2 days either.

    1 week? Still seems impossible.

    ...

  2. Or,

    You can r1 it, professionally, just like this:

    ~> r1 --target=/usr/bin/qtcreator --app-name='Qt Creator'
    

    Tip: you can find its icon here: https://code.qt.io/cgit/qt-creator/qt-creator.git/

Dependencies

~0–27MB
~448K SLoC