https://github.com/sentriz/sync-procs
synchronise processes in different shells so that they start at the same time
https://github.com/sentriz/sync-procs
Last synced: 9 months ago
JSON representation
synchronise processes in different shells so that they start at the same time
- Host: GitHub
- URL: https://github.com/sentriz/sync-procs
- Owner: sentriz
- Created: 2022-06-11T15:32:09.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-09T10:43:44.000Z (almost 4 years ago)
- Last Synced: 2025-03-30T15:12:43.881Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
sync-procs
synchronise processes in different shells so that they start at the same time
---
### installation
```shell
go install go.senan.xyz/sync-procs@latest
```
### usage
```shell
sync-procs # server
sync-procs # client
```
### example
_session A_
```shell
$ sync-procs 3 && date # server
# hanging until we have all 3
Sat 11 Jun 2022 16:28:04 IST
```
_session B_
```shell
$ sync-procs && date
# hanging until we have all 3
Sat 11 Jun 2022 16:28:04 IST
```
_session C_
```shell
$ sync-procs && date
# hanging until we have all 3
Sat 11 Jun 2022 16:28:04 IST
```
---