Bug 513713 - In Run configuration when reading standard input from file, EOF is not issued at the end
Summary: In Run configuration when reading standard input from file, EOF is not issued...
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.6   Edit
Hardware: All All
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-15 09:56 EDT by Boian Petkantchin CLA
Modified: 2021-06-04 02:29 EDT (History)
4 users (show)

See Also:


Attachments
Eclipse project that reproduces the problem (1.18 KB, application/x-7z-compressed)
2017-03-15 09:56 EDT, Boian Petkantchin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boian Petkantchin CLA 2017-03-15 09:56:12 EDT
Created attachment 267275 [details]
Eclipse project that reproduces the problem

Setup:
During a run you supply the standard input from a file (Run -> Run Configurations -> Common tab -> Input File). The contents of the file are being delivered through the standard input stream.

Desired result:
At the end of the file EOF should be issued to the stream. This is the case if you pipe the contents of a file on the console:
cat myfile | myprogram

Bug:
The input stream never receives EOF.


Note that the problem is manifested in C++ as well when using the CDT plugin. It is not Java specific.
Comment 1 Eclipse Genie CLA 2020-06-28 11:44:49 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Bet Ofnuts CLA 2020-11-15 08:36:09 EST
Big still there in 2020-06.
Comment 3 Paul Pazderski CLA 2020-11-15 08:43:13 EST
.
Comment 4 Eclipse Genie CLA 2020-11-15 16:17:08 EST
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.debug/+/172272
Comment 5 Sarika Sinha CLA 2021-02-20 08:14:43 EST
@Paul!
Do you want to complete this?