amphp / amphp/parallel

Forwarding User Interaction and Feedback in CLI app

Open
#196 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
PHP
Stars
859
Forks
69
PR merge metrics
No merged PRs in 30d

Description

Hi there! It's not an issue but rather a question.

I'm working on a CLI app that runs several tasks, and a few of them require user interaction (using Symfony IO or Laravel Prompt) during execution. How can I forward the input from the child process to the main stdout and receive feedback in the child processes? Thanks

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.

Research direction

The issue mentions Symfony IO, Laravel Prompt, child processes, and the main stdout, but names no files, tests, or entry points. Start by tracing the library's child-process communication and output-handling APIs; the work would need a defined interaction model and a reproducible test showing input and feedback crossing the process boundary.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.