How to use `--wait-ready` for non node-js programs ?

Open
#5,775 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
dart, nodejs
Domain
cli, tooling

Research direction

The issue names PM2's --wait-ready entry point, Dart, and Node's process.send('ready'), but no source file or test. Start by tracing how PM2 handles the ready signal for non-Node processes. Done means determining and documenting a supported way for a Dart server to signal readiness without the Node.js wrapper.

Written by the indexing model from the issue text.

Description

I have a web server in dart which takes some time to start. How do i call process.send('ready') from the dart program ?

Currently I am using a workaround of running a nodejs file which is a wrapper to run the dart server and calling process.send from there. Is there any better way of doing this ?

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Unitech/pm2

All issues in Unitech/pm2

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.