Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362825

Summary: SpawnerMiner should spawn processes using a PTY
Product: [Tools] PTP Reporter: Chris Recoskie <recoskie>
Component: CoreAssignee: Chris Recoskie <recoskie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ptp-inbox
Version: 4.0.7   
Target Milestone: 5.0.4   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch recoskie: iplog-

Description Chris Recoskie CLA 2011-11-03 13:50:25 EDT
Right now, since the external process is not spawned under a PTY, the OS uses a 4 KB buffer to buffer stdout from the process.  This means you don't get any output from the process until the buffer is full, or the process terminates.  With a PTY, the output will be line buffered instead, which is what users expect.
Comment 1 Chris Recoskie CLA 2011-11-15 11:46:40 EST
Created attachment 207038 [details]
patch
Comment 2 Chris Recoskie CLA 2011-11-15 11:47:29 EST
Fix applied to ptp_4_1, ptp_5_0, and master.