After some hours I finally found that this is neither buffering nor
carriage returns consumption nor changed behavior if stdout is not a
terminal, but rather if *stdin* is not a terminal:
https://forum.snapcraft.io/t/is-it-possible-to-get-the-installation-
progress-or-removal-of-a-snap-with-the-process-running-in-
backgroud/10538/2.

Reseting the stdin

  exec 0> /dev/tty

solves the lack of feedback problem as recorded.

** Attachment added: "snapinstall-stdin.mkv"
   
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1886414/+attachment/5835290/+files/snapinstall-stdin.mkv

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1886414

Title:
  the chromium snap takes a long time to install without visible user
  feedback, seems stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1886414/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to