Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006616 [JEDI VCL] 00 JVCL Components minor always 2018-02-01 05:38 2018-06-09 15:24
Reporter pyscripter View Status public  
Assigned To AHUser
Priority normal Resolution fixed  
Status resolved   Product Version Daily / GIT
Summary 0006616: JvCreateProcess - CloseWrite should be made public
Description When you redirect input to the created process, the standard way to indicate that input is finished is to close the hstdin handle. See for example (https://msdn.microsoft.com/en-us/library/windows/desktop/ms682499(v=vs.85).aspx, [^] the WriteToPipe function).

In the past I got away by writing a #26 character (EOF ^Z) to the input. That for example worked with Python 2.x, but it does not work with Python 3.x, which keeps on waiting for input. CloseWrite, needs to made public so that the caller of JvCreateProcess can indicate that there is no more input to provide.
Additional Information The attached modified file does this (as well as dealing with separate issue 6610).
Tags No tags attached.
Attached Files ? file icon JvCreateProcess.pas [^] (51,184 bytes) 2018-02-01 05:38

- Relationships

-  Notes
(0021470)
AHUser (developer)
2018-06-09 15:24

CloseWrite is now public in the master branch

- Issue History
Date Modified Username Field Change
2018-02-01 05:38 pyscripter New Issue
2018-02-01 05:38 pyscripter File Added: JvCreateProcess.pas
2018-06-09 15:24 AHUser Note Added: 0021470
2018-06-09 15:24 AHUser Status new => resolved
2018-06-09 15:24 AHUser Fixed in Version => Daily / GIT
2018-06-09 15:24 AHUser Resolution open => fixed
2018-06-09 15:24 AHUser Assigned To => AHUser


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker