Product SiteDocumentation Site

1.157. pexpect

1.157.1. RHBA-2009:1508: bug fix update

Note

This update has already been released (prior to the GA of this release) as FASTRACK errata RHBA-2009:1508
An updated pexpect package that fixes two bugs is now available.
pexpect is a pure Python module for spawning child applications, controlling them, and responding to expected patterns in their output. Pexpect works like Don Libes' Expect. Pexpect allows your script to spawn a child application and control it as if a human were typing commands. Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. It can also be used to automate setup scripts for duplicating software package installations on different servers and for automated software testing.
This update addresses the following issues:
* pexpect was previously included in the unsupported Extra Packages for Enterprise Linux (EPEL) repository. It is now a supported package in Red Hat Enterprise Linux but is otherwise unchanged. The initial release of pexpect as a supported package included no changes at all and, as a consequence, did not obsolete the EPEL version. To ensure the supported package properly obsoletes the EPEL package, the Release value for this package was incremented. (BZ#481380)
* previously, the shebang lines in pexpect's python executables pointed to "/usr/bin/env python" rather than explicitly referencing the version of Python installed on the system. This broke these executables in the case of a user installing an alternative Python version. With this update, all shebang lines point explicitly to the system version at /usr/bin/python. (BZ#521891)
All pexpect users should install this updated package, which addresses these issues.

Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.