<p>I could've swore there was an Issue for this already, but I can't seem to find it (maybe on SF.net?).</p>

<p><a href="https://github.com/naturalspringwater" class="user-mention">@naturalspringwater</a> what would happen if you did something like this?</p>

<div class="highlight highlight-source-shell"><pre>cat /dev/random <span class="pl-k">|</span> geany -</pre></div>

<p>Ignoring the fact that it would eventually get zeroes which would cause other problems, should Geany show it's window and read-in chunks and update the UI, or should it just read the whole input (forever) until it uses too much memory and crashes (or gets killed by the OS or whatever)?</p>

<p>I think on Windows, Geany only allocates a console (and hence only has stdio) when <code>-v</code> option is passed. I guess it would need a special case for <code>-</code> as well to cause it to call <code>AllocConsole</code> or whatever it does for <code>-v</code>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/780#issuecomment-160235386">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJx5FikWEinideO8Ju-h2SIsPn60Gks5pKPj-gaJpZM4GqokY.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/780#issuecomment-160235386"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>