pm2
pm2 copied to clipboard
feat: add features to stdin commands
- Add support for input commands in
pm2 logs - Add support for using names in
pm2 attachandpm2 send - Update documentation for new features
| Q | A |
|---|---|
| Bug fix? | no |
| New feature? | yes |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | None |
| License | Apache 2.0 |
| Doc PR | Once merged |
Usage
$ pm2 attach foo # attach and send couldn't deal with name. Now they can
$ pm2 logs --attach-input # We could send message to stdin of processes in `pm2 logs`. Below is an example to send "Lorem Ipsum" to process 0.
> 0 Lorem Ipsum
I made a demo for this