Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bemug/toggle
Toggle a process with one call
https://github.com/bemug/toggle
Last synced: 13 days ago
JSON representation
Toggle a process with one call
- Host: GitHub
- URL: https://github.com/bemug/toggle
- Owner: bemug
- Created: 2024-04-04T21:59:28.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-05-02T09:52:38.000Z (9 months ago)
- Last Synced: 2024-11-17T02:25:13.810Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Toggle
Simple bash script to run a command or stop it if already running, with the same call.
## Usage
```
toggle
```
Will launch `command`. Running it again :
```
toggle
```
Will kill the process `command`.