Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362825 - SpawnerMiner should spawn processes using a PTY
Summary: SpawnerMiner should spawn processes using a PTY
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Core (show other bugs)
Version: 4.0.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 5.0.4   Edit
Assignee: Chris Recoskie CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 13:50 EDT by Chris Recoskie CLA
Modified: 2011-11-15 11:47 EST (History)
1 user (show)

See Also:


Attachments
patch (1.79 KB, patch)
2011-11-15 11:46 EST, Chris Recoskie CLA
recoskie: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.