You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
$command: Interactive prompts not processing the inputs #99
When the provided command prompts for the user input, it should accept entered value after pressing Enter or Return.
Actual Behavior
It just keeps reading the entered values without respecting end-of-line input.
#!/usr/bin/env zx
$`npm init`
Steps to Reproduce the Problem
Just pass an interactive command to the $``
$`npm init`
Try to fill it
This behavior could be due to not redirecting the parent process stdin to the spawned process stdin. I tried the same command with the spawn, and it worked fine.
Activity
antonmedv commentedon May 22, 2021
Fixed!
m-sureshraj commentedon May 23, 2021
Commit - 1064e64