forked from ClusterLabs/crmsh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: utils: pass env to child process explicitly (bsc#1205925)
A bug in python stardard library, python/cpython#100516, make environment variables, `COLUMNS` and `ROWS` to be added at fork. These environment variables may make some of the commands called by crmsh to truncate its output even if those commands are not writing to the terminal. Passing argument `env` explicitly is a workaround for the python bug.
- Loading branch information
1 parent
11ada54
commit 2846124
Showing
2 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters