Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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).

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)"
```