Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tonyseek/trapit
Trapit is a command line utility which traps short-lived processes (e.g. curl) with inspectors (e.g. strace).
https://github.com/tonyseek/trapit
Last synced: about 2 months ago
JSON representation
Trapit is a command line utility which traps short-lived processes (e.g. curl) with inspectors (e.g. strace).
- Host: GitHub
- URL: https://github.com/tonyseek/trapit
- Owner: tonyseek
- License: mit
- Created: 2023-02-01T06:52:00.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T07:08:29.000Z (12 months ago)
- Last Synced: 2024-10-14T00:29:50.225Z (3 months ago)
- Language: C++
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Trapit
_Trapit_ is a command line utility which traps _short-lived processes_
(e.g. `curl`) with _inspectors_ (e.g. `strace`).For example:
```sh
# In terminal A: the process holds off running until a signal is received
trapit exec -- curl https://httpbin.org/get# In terminal B: the PID will be returned and the target process will wake up
strace -p "$(trapit wake)"
```