Arguments on the command line are not passed to the shell executed by t-rec. e.g.
t-rec /usr/local/bin/bash -l
This doesn't run, clap tries to gobble up -l.
t-rec -- /usr/local/bin/bash -l
This runs but -l is not passed to bash.
t-rec -- "/usr/local/bin/bash -l"
This starts, prints a "press ctrl-d to stop recording message", quits, and immediately resets the terminal. As a result you may see the recording message but you won't see the error message.
Arguments on the command line are not passed to the shell executed by t-rec. e.g.
t-rec /usr/local/bin/bash -lThis doesn't run, clap tries to gobble up
-l.t-rec -- /usr/local/bin/bash -lThis runs but
-lis not passed to bash.t-rec -- "/usr/local/bin/bash -l"This starts, prints a "press ctrl-d to stop recording message", quits, and immediately resets the terminal. As a result you may see the recording message but you won't see the error message.