<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">25.12.2019 22:04, T Lee Davidson пишет:<br>
</div>
<blockquote type="cite"
cite="mid:30076451-4324-59c1-6412-cdef25cc2c37@gmail.com">On
12/25/19 2:17 AM, Admin wrote:
<br>
<blockquote type="cite">So, I wonder if closing a pipe does not
actually send EOF to the pipe despite stating this exact
behaviour in documentation, or am I missing somethig?
<br>
</blockquote>
<br>
I am not seeing where the documentation states that closing a pipe
sends EOF. There is mention that executing CLOSE on a _Process_
handle sends Ctrl-D, but not on a Stream. Did I miss it?
<br>
<br>
<br>
</blockquote>
<p>Well... I could have sworn I've seen it yesterday, now I don't,
so mabe you are right. Also I now see that there's
Process.Closeinput method, that states "<span style="color:
rgb(64, 64, 64); font-family: sans-serif; font-size: medium;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">This replaces the old behaviour of
previous Gambas version when closing the stream with the<span> </span></span><a
href="http://gambaswiki.org/wiki/lang/close"
style="text-decoration: none; color: rgb(101, 71, 191);
font-family: sans-serif; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">CLOSE</a><span style="color: rgb(64, 64, 64);
font-family: sans-serif; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;"><span> </span>instruction."
so that you can't just CLOSE a process handle to send Ctrl-D to
a Stream. Maybe I should try this on my Shell "tar ...". Just
not yet sure how.<br>
</span></p>
</body>
</html>