Replies: 1 comment
-
|
Ran into this and did some digging. Although its not directly using foo=$(gum input) && echo $foo | my-command-that-reads-stdinIf you're concerned with leaving the extra variable in your environment you could append |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It seems like
gum inputis non-blocking so when I use it in a pipe likegum input | echo blahI immediately seeblahprinted before I'm done entering input into gum. Is this intended? How can I usegum inputin a pipe and pass the output along?Beta Was this translation helpful? Give feedback.
All reactions