Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#21381] Tools: Set LC_ALL=C.UTF-8 when running pgrep in yb-ctl
Summary: When other processes have UTF-8 characters in their names, pgrep may fail due to expecting a different encoding. This revision fixes the issue by setting the `LC_ALL` environment variable to `C.UTF-8` when invoking `pgrep`. Note that the environment variable is only set for the subprocess which `pgrep` runs in; this change does not modify it anywhere else. Jira: DB-10275 Test Plan: ``` bin/yb-ctl create ``` Reviewers: mbautin Reviewed By: mbautin Differential Revision: https://phorge.dev.yugabyte.com/D33008
- Loading branch information