This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author juj
Recipients juj
Date 2014-07-25.13:52:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406296343.93.0.498702649636.issue22066@psf.upfronthosting.co.za>
In-reply-to
Content
When Python 2.7 executes a Node .js application that prints to stdout and subsequently exits, Python does not capture full output printed by that application.

Steps to repro:
1. Download and unzip http://clb.demon.fi/bugs/python_proc_bug.zip
2. Run run_test.bat

Observed result: The .bat script prints:

Executing 'node jsfile.js' directly from command line. The js file outputs:
Line 1
Line 2

Executing 'jsfile.js' via a python script that calls 'node jsfile.js'. Now the js file outputs:
Line 1

Expected result: The second run via invoking from python should also print "Line 2".

Tested on Python v2.7.8 64-bit and Node v0.10.28 on Windows 7 64-bit.
History
Date User Action Args
2014-07-25 13:52:23jujsetrecipients: + juj
2014-07-25 13:52:23jujsetmessageid: <1406296343.93.0.498702649636.issue22066@psf.upfronthosting.co.za>
2014-07-25 13:52:23jujlinkissue22066 messages
2014-07-25 13:52:23jujcreate