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
Is your feature request related to a problem? Please describe.
For example the following does not work as expected: gum spin --show-output -- cat < some-file echo "abc" | gum spin --show-output -- cat
Both commands have no output, even though one would expect to see respectively the content of some-file, and abc
Describe the solution you'd like gum spin should forward the data received on stdin to the program being run.
Much like env does, for example with echo abc | env cat.
Describe alternatives you've considered
I can't an applicable alternative solution.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
I had this issue as well. It's because shell input redirection (the <) tries to apply to the whole command, so it redirects to gum. You need to do a subshell, like this:
Is your feature request related to a problem? Please describe.
For example the following does not work as expected:
gum spin --show-output -- cat < some-file
echo "abc" | gum spin --show-output -- cat
Both commands have no output, even though one would expect to see respectively the content of
some-file
, andabc
Describe the solution you'd like
gum spin
should forward the data received on stdin to the program being run.Much like
env
does, for example withecho abc | env cat
.Describe alternatives you've considered
I can't an applicable alternative solution.
Additional context
N/A
The text was updated successfully, but these errors were encountered: