[PATCH v2] nmbug: Add an 'init' command

W. Trevor King wking at tremily.us
Fri Oct 10 22:11:53 PDT 2014


On Sat, Oct 11, 2014 at 06:53:11AM +0200, David Bremner wrote:
> W. Trevor King writes:
> > but I expect that closing stdin is more portable than the /dev/null
> > path.
> 
> /dev/null is part of POSIX

Maybe folks want to use nmbug on Windows or some other crazy non-POSIX
OS?  I don't know how Windows-compatible the rest of notmuch is (it
looks like Xapian can be built with MSYS+mingw or MSVC [1,2]), and I
don't think supporting non-POSIX OSes is worth a lot of effort, but
using stdin instead here is easy ;).

Cheers,
Trevor

[1]: http://xapian.org/download (this seems to be down now, so see
     here [2] instead)
[2]: https://web.archive.org/web/20140902022239/http://xapian.org/download

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20141010/b97c3311/attachment.pgp>


More information about the notmuch mailing list