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
importtimeimportclickfromtrogonimporttui@tui()@click.command()defcli():
time.sleep(2) # simulating some longer taskclick.echo("Hello from trogon-try!")
click.echo("This is the second output line.")
if__name__=="__main__":
cli()
When I execute it with Trogon then Trogon starts the execution of my script, but meanwhile I get back the prompt. So my script is running in the background and writing to the console. This is really confusing and can be the source of errors.
See in the below screenshot how it looks.
Note: I'm using Windows.
The text was updated successfully, but these errors were encountered:
I have the following example script:
When I execute it with Trogon then Trogon starts the execution of my script, but meanwhile I get back the prompt. So my script is running in the background and writing to the console. This is really confusing and can be the source of errors.
See in the below screenshot how it looks.
Note: I'm using Windows.
The text was updated successfully, but these errors were encountered: