Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No progress if executed over ssh #262

Open
jason-adnuntius opened this issue Jun 29, 2022 · 1 comment
Open

No progress if executed over ssh #262

jason-adnuntius opened this issue Jun 29, 2022 · 1 comment

Comments

@jason-adnuntius
Copy link

If I run s4cmd via ssh I see no progress, but if I go in and manually disable these lines:

if not (sys.stdout.isatty() and sys.stderr.isatty()):
    return

I see the progress just fine. Wondering if it would be possible to introduce a --progress option to force progress even if sys.stdout.isatty() is False.

@jason-adnuntius
Copy link
Author

I was going to have a go myself, but I see that progress is not inside any class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant