Message223950
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. |
|
Date |
User |
Action |
Args |
2014-07-25 13:52:23 | juj | set | recipients:
+ juj |
2014-07-25 13:52:23 | juj | set | messageid: <1406296343.93.0.498702649636.issue22066@psf.upfronthosting.co.za> |
2014-07-25 13:52:23 | juj | link | issue22066 messages |
2014-07-25 13:52:23 | juj | create | |
|