Search code examples
javascriptnode.jspm2

How to interact with programs managed by pm2?


After using pm2 to manage and start a program, the program expects me to enter further instructions after performing some tasks. After using pm2 to manage and start this program, how to interact with this program?

thanks a lot.


Solution

  • Maybe ´pm2 attach <process_id>´