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
Hi everyone, I am writing a TUI/CLI that will utilize gum- it is python based and I’m using the example from the GitHub page (gum.py) as a template for the function I’m using for gum commands.
In some specific instances, I want to use gum spin but I want the command it runs/waits for to be another python function. But my understanding is I can only run gum spin with another shell based command via subprocess.
Is there something I’m missing, or is there perhaps a workaround I can use to essentially start an “indefinite” spinner that I can start, and then stop, at certain points in my script?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone, I am writing a TUI/CLI that will utilize gum- it is python based and I’m using the example from the GitHub page (gum.py) as a template for the function I’m using for gum commands.
In some specific instances, I want to use gum spin but I want the command it runs/waits for to be another python function. But my understanding is I can only run gum spin with another shell based command via subprocess.
Is there something I’m missing, or is there perhaps a workaround I can use to essentially start an “indefinite” spinner that I can start, and then stop, at certain points in my script?
Beta Was this translation helpful? Give feedback.
All reactions