[Github-comments] [geany] Read standard input as new file (#780)
Matthew Brush
notifications at xxxxx
Sat Nov 28 02:04:27 UTC 2015
> Currently Geany uses an option parsing library that does not support a single dash by itself and without the dash there is no way of differentiating between simply opening geany and reading the standard input.
If GOptionParser chokes on a single `-` (does it? I figured it would just pass it through), some code could be added to detect/remove `-` from `argv` before calling into the option parser, instead of dealing with it after the option parser.
> Given the questions about windows @codebrainz raised this might only be a Linux feature
It wasn't questions as much as a note if someone's gonna implement this feature, I think Windows needs another special case in order to get stdio handles for this to work.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/780#issuecomment-160238096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151127/e0d2c128/attachment.html>
More information about the Github-comments
mailing list