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 |
JvCreateProcess.pas [^] (51,184 bytes) 2018-02-01 05:38 |
|