#1116524 Please log shell during external commands

#1116524#5
Date:
2025-09-28 09:48:07 UTC
From:
To:
Hi,

running:

$ sbuild --starting-build-commands %s -d unstable hello

produces a hello_amd64.build with the log of the build but it does not
contain the commands and output from the %s interactive shell. Would be
great if those would be logged as well.

Thanks!

Jochen

#1116524#8
Date:
2025-09-28 10:30:03 UTC
From:
To:
Hi,

Quoting Jochen Sprickerhof (2025-09-28 11:48:07)

interesting idea. But capturing a shell session can be quite tricky as one can
see from other tools that attempt to do that like script(1). I mean, what is
the log supposed to contain when you open vim? Then you resize the window.
Then you start tmux. :)

Thanks!

cheers, josch