-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi
I wonder why vim doesn't just exit when it's stdin is closed.
The problem I have right now is that I have program which runs
.. sourcecode: python
os.system("${EDITOR} tempfile")
and I'm testing it with nosetests. So obviously I need to fake this
function but it starts the vim if the test for some reason runs the
real function.
So I thought I'd just close the stdin for the whole nosetets but then
the tests instead of just failing the test get stuck on running
dysfunctional vim.
So I wonder if there is an actuall reason for vim not exiting here or
if check_tty(parmp) could be fixed to exit(1) just like it does there
with netbeans.
- --
Jan Matějka | QA Engineer for Maintenance
SUSE LINUX s.r.o. | https://www.suse.com/
GPG: A33E F5BC A9F6 DAFD 2021 6FB6 3EBF D45B EEB6 CA8B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQEcBAEBCgAGBQJUANteAAoJEIN+7RD5ejahq2AIANd7bcxO5yFZDCDKVkiVbGfy
ZLgbz0hxjp3mLOaG724kO3O02zblY28D19npcDjnjzSqHEwtGIcIWebIZHUwx0wV
p48ep+DGXxLwWxXUL0OpTD2LyoKAgDzFcYorqNfbZOEUufBxFCItPXGjdCML8Yf8
gvfeeGiBuSjzy53rHq+s5tOin3myvlNek3SrNzVP/2yHNbIYGqcQToETpx538fCa
9QPtD+KCJ6J8kqfLumkPuJN9E48EIFT+u1Uq49EoKx2t+Jbd2tjgirEQdKXzsUtq
r6bGWulKfIuAzdrcdFQrWL6bdHStDHHAHXgOtMX8W3f3r6PPZXbnTRqs7VCo8Ew=
=Kxu7
-----END PGP SIGNATURE-----
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment