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 <>
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
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.
Date User Action Args
2014-07-25 13:52:23jujsetrecipients: + juj
2014-07-25 13:52:23jujsetmessageid: <>
2014-07-25 13:52:23jujlinkissue22066 messages
2014-07-25 13:52:23jujcreate