Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IPMI commands get executed in a separate shell where the combination "status" has its own behavior. In our case, Popen starts a new shell, for example by running /bin/bash, and when the BMC password contains the combination above it gets replaced to "bin/bash" (in this case the combination holds the last executed command as a string). I have added a method to Session class that will escape the dollar sign and test function. Such behavior is expected with other signs (like combination "^_") but I didn't find it critical for them. Signed-off-by: Evloev Sayfuddin <[email protected]>
- Loading branch information