aboutsummaryrefslogtreecommitdiffstats
path: root/.dockerignore
diff options
context:
space:
mode:
authorArseniy Zaostrovnykh <arseniy.zaostrovnykh@sonarsource.com>2025-02-18 11:08:26 +0100
committerGitHub <noreply@github.com>2025-02-18 11:08:26 +0100
commitd3c2bd6599a5ba2a44eeaa6a99863450635877e8 (patch)
tree42e3fd0588934c499ebe03aa15815e3cfc1254c3 /.dockerignore
parentf0a0395ac7af90839b579dafd7c2728607b06ecf (diff)
downloadsonarqube-az/ps-wide-output.tar.gz
sonarqube-az/ps-wide-output.zip
Make sonar startup script insensitive to the terminal widthaz/ps-wide-output
Surprizingly, even when `ps` output is piped into another command, such as `grep` in this case, it is still truncated based on the terminal width. Depending on how wide your terminal you get different results from running the same command: Wide-enough terminal: ``` ./sonar.sh start /usr/bin/java Starting SonarQube... Started SonarQube. ``` Not-wide-enough terminal (width = 263 columns): ``` sonar.sh start /usr/bin/java Starting SonarQube... Removed stale pid file: ./SonarQube.pid Failed to start SonarQube. ``` To fix that, `ps` should be run with `-ww` option, see the [man page](https://man7.org/linux/man-pages/man1/ps.1.html) Tested on `ps` version 4.0.3 and 3.3.17
Diffstat (limited to '.dockerignore')
0 files changed, 0 insertions, 0 deletions