Skip to content

Conversation

qwertycxz
Copy link

@qwertycxz qwertycxz commented May 8, 2025

  1. Add support for input commands in pm2 logs
  2. Add support for using names in pm2 attach and pm2 send
  3. 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

qwertycxz added 4 commits May 8, 2025 13:01
1. Add support for input commands in `pm2 logs`
2. Add support for using names in `pm2 attach` and `pm2 send`
3. Update documentation for new features
@qwertycxz
Copy link
Author

I made a demo for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant