Skip to content

Allow to pass env variables and provide way to access to child process #292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Nitwel
Copy link

@Nitwel Nitwel commented Jul 22, 2025

Heya, I ran into several problems while wanting to make use of this awesome project. ❤️

  1. No type definitions where present
  2. You couldn't pass environment variables to the child process
  3. There was no way to access the underlying child process

To explain myself more, I'm running automated load tests and wanted to generate flame-graphs for these tests. As I'm testing against a express server, the process never exits by itself, so I needed access to the spawned process in order to send the SIGINT / SIGTERM signals to it.

Please let me know of any changes you'd like to see.

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