audk/AppPkg/Applications/Python
Daryl McDaniel 47022e82e1 AppPkg: Add switch to cause stderr to be aliased to stdout.
Python, as distributed, sends its prompts and other interactive output
to stderr, which uses the platforms STDERR device for output.  If STDERR output
is not visible, it may appear that Python has hung.  Several people have
reported problems on platforms that don't enable STDERR.  These include
platforms without a Setup utility and those without Setup options for STDERR.

This patch adds a command-line switch, -#, to Python.  If this switch
is present, stderr will be aliased to stdout.

AppPkg/Applications/Python/PyMod-2.7.2/Modules/main.c:  New file, modified
version of AppPkg/Applications/Python/Python-2.7.2/Modules/main.c.  Add the -#
option which causes stderr to be aliased to stdout.  Add a description of this
switch to the Help output.

AppPkg/Applications/Python/PythonCore.inf:  Reference main.c from PyMod-2.7.2
instead of from Python-2.7.2 so that the modified version is used.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18649 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-19 21:39:46 +00:00
..
Efi AppPkg/Applications/Python: Add support for the pyexpat module. 2013-01-18 20:36:27 +00:00
Ia32 EADK (StdLib, AppPkg, StdLibPrivateInternalFiles): Python Beta Release. 2012-03-24 01:19:06 +00:00
Ipf EADK (StdLib, AppPkg, StdLibPrivateInternalFiles): Python Beta Release. 2012-03-24 01:19:06 +00:00
PyMod-2.7.2 AppPkg: Add switch to cause stderr to be aliased to stdout. 2015-10-19 21:39:46 +00:00
Python-2.7.2 StdLib: Fix more GCC warnings/errors caused by variables being set but not used. 2014-10-31 20:32:02 +00:00
X64 EADK (StdLib, AppPkg, StdLibPrivateInternalFiles): Python Beta Release. 2012-03-24 01:19:06 +00:00
PythonCore.inf AppPkg: Add switch to cause stderr to be aliased to stdout. 2015-10-19 21:39:46 +00:00
PythonReadMe.txt EADK (AppPkg): Update the Python ReadMe file, Python/PythonReadMe.txt, to reflect the current status of the project. 2013-10-25 20:09:26 +00:00