https://github.com/osspkg/parallel
Parallel command execution
https://github.com/osspkg/parallel
go golang parallel shell
Last synced: 7 months ago
JSON representation
Parallel command execution
- Host: GitHub
- URL: https://github.com/osspkg/parallel
- Owner: osspkg
- License: mit
- Created: 2022-08-21T21:57:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-25T12:14:25.000Z (over 3 years ago)
- Last Synced: 2024-12-22T09:43:06.372Z (about 1 year ago)
- Topics: go, golang, parallel, shell
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# parallel
Parallel command execution
# install
```go
go install github.com/dewep-online/parallel@latest
```
# how work
```shell
Current Command:
parallel [arg] --shell=bash --exit --timeout=3
Flags:
--shell default shell (bash, sh, ... etc) (default: bash)
--exit stop parallel if error or exit 1 (default: false)
--timeout restart timeout in sec if error or exit 1 (default: 3)
```
# example
```shell
parallel "ping google.com" "ping yandex.ru" "date" "exit 1" --timeout=1 --exit
```