https://github.com/bemug/toggle
Toggle a process with one call
https://github.com/bemug/toggle
Last synced: 4 months 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-02T09:52:38.000Z (about 1 year ago)
- Last Synced: 2025-01-17T21:29:53.945Z (6 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`.