Closed haampie closed 4 years ago
It would be great if sarus could preserve color output when running e.g. sarus run [image] ctest. Docker seems to do this as well.
sarus run [image] ctest
mwe:
docker run --rm ubuntu:18.04 ls --color=auto sarus run ubuntu:18.04 ls --color=auto
FWIW, it seems that TERM is fine inside of the container
TERM
$ sarus run ubuntu:18.04 echo $TERM xterm-256color
Figured it out, sarus run --tty ubuntu:18.04 ls --color=auto sets terminal: true in config.json, which is enough to get color output.
sarus run --tty ubuntu:18.04 ls --color=auto
terminal: true
config.json
It would be great if sarus could preserve color output when running e.g.
sarus run [image] ctest
. Docker seems to do this as well.mwe:
FWIW, it seems that
TERM
is fine inside of the container