I would like to ask this question because we found strange things with this part of commander.
script have a different behaviour depends on version. For example, script from unix-utils 2.27.1 saves placeholder about started time like this:
Script started on Tue 24 Apr 2018 04:22:21 AM MSK
even we have --quiet flag.
Also, we had a flaky experience with composer, that uses this implementation of commander and getting output from the command using tail.
We fixed this using common approach for running subprocesses.
But now it has a little bit different interface, then current implementation. For example, Notification class looks like this for supporting real-time output parsing (instead of tail):
sealed class Notification {
object Start : Notification()
data class Exit(val output: String) : Notification()
data class Output(val line: String) : Notification()
}
Would you like to have this changes in commander or it is important to have current behaviour or you don't want to merge breaking changes?