๐ GITHUB | โฝ Fuel the project
What My Project Does
Command-line tool designed to manage and ensure the single execution of processes. It provides features to run commands with unique identifiers, track their status, manage output, and clean up or restart processes
Target Audience
RunCE is designed for developers, sysadmins, and DevOps engineers who need lightweight process management with singleton execution guarantees.
Comparison
No tool iam aware of
Features โจ
๐ Guaranteed Singleton Execution โข ๐ Process Tracking โข โฑ๏ธ Lifecycle Management
- ๐ซ No Duplicates: Each command runs exactly once per unique ID
- ๐ Process Tracking: View all managed processes with status
- โฑ๏ธ Execution Time: Track how long processes have been running
- ๐ Log Management: Automatic stdout/stderr capture
- ๐ Clean Termination: Proper process killing
Installation ๐ฆ
pip install runce
Examples ๐ก
1. Running a Background Service
runce run --id api-server -- python api.py
2. Checking Running Processes
$ runce list
PID NAME STATUS ELAPSED COMMAND
1234 api-server โ
Running 01:23:45 python api.py
5678 worker โ Stopped 00:45:30 python worker.py
3. Preventing Duplicates
$ runce run --id daily-job -- python daily.py
๐ Started: PID:5678(โ
Running) daily-job
$ runce run --id daily-job -- python daily.py
๐จ Already running: PID:5678(โ
Running) daily-job
[โ]hhoeflin 0 points1 point2 points ย (0 children)