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-02-01 05:38
Reporter pyscripter View Status public  
Assigned To
Priority normal Resolution open  
Status new   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

There are no notes attached to this issue.

- 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


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