Skip to content

How to enable inherit stdio? #426

Discussion options

You must be logged in to vote

Probably mysq looks for TTY on stdout, not stdin. By default zx uses stdio: ['inherit', 'pipe', 'pipe'].

await $`mysql ...`.stdio('inherit', 'inherit', 'inherit')

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@antongolub
Comment options

Answer selected by PeterlitsZo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants