<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Nothing is ever *supposed* to read from stdin. But if you just launch a vanilla CCL it will create a listener which will attempt to read from stdin.<div><br></div><div>In a standard unix daemon, the stdin file descriptor is closed. (So it stdout.) I haven't actually tried this, but I suspect CCL will not be happy if that happens.</div><div><br></div><div>If you don't close stdin, even if you don't ever provide any input you still have to be aware of what it ends up being connected to because it's a potential security hole.</div><div><div><br></div><div>rg</div><div><br><div><div>On Feb 19, 2010, at 7:04 AM, Daniel Weinreb wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div bgcolor="#ffffff" text="#000000">
stdout and stderr are just sent to files. The software<br>
isn't generally supposed to use them for anything.<br>
Nothing ever reads from stdin; it's just daemon software.<br>
<br>
Ron Garret wrote:
<blockquote cite="mid:783A554A-D8EC-4865-9769-3BE065B4D9CC@flownet.com" type="cite">
<pre wrap="">But what do you do with stdin/stdout and the initial listener?
On Feb 18, 2010, at 8:48 AM, Daniel Weinreb wrote:
</pre>
<blockquote type="cite">
<pre wrap="">We do that.
-- Dan
Robert Goldman wrote:
</pre>
<blockquote type="cite">
<pre wrap="">For a long-running daemon program we've worked on, we've compiled a
swank server into the program, so that one can attach a slime session.
Possibly worth investigating?
_______________________________________________
Openmcl-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Openmcl-devel@clozure.com">Openmcl-devel@clozure.com</a>
<a class="moz-txt-link-freetext" href="http://clozure.com/mailman/listinfo/openmcl-devel">http://clozure.com/mailman/listinfo/openmcl-devel</a>
</pre>
</blockquote>
<pre wrap="">_______________________________________________
Openmcl-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Openmcl-devel@clozure.com">Openmcl-devel@clozure.com</a>
<a class="moz-txt-link-freetext" href="http://clozure.com/mailman/listinfo/openmcl-devel">http://clozure.com/mailman/listinfo/openmcl-devel</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</div>
</blockquote></div><br></div></div></body></html>