s4cmd icon indicating copy to clipboard operation
s4cmd copied to clipboard

No progress if executed over ssh

Open jason-adnuntius opened this issue 2 years ago • 1 comments

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 avatar Jun 29 '22 10:06 jason-adnuntius

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

jason-adnuntius avatar Jun 29 '22 10:06 jason-adnuntius