|
From: | Paul Eggert |
Subject: | bug#20214: Nohup input redirection inconsistent with documentation |
Date: | Fri, 27 Mar 2015 15:11:39 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
Isaac Schwabacher wrote:
This is confusing at best
Yes, at the very least the documentation should be improved. I installed the attached patch to try to do that.
Is it really better for a read on stdin to fail with EBADF rather than simply returning EOF
It depends on whether we want GNU nohup to be a universal donor or a universal acceptor. Right now it's more the former (if a program works with GNU nohup it should be portable to other nohup platforms); a nohup that makes stdin read from /dev/null would be more "accepting" of badly-written code developed elsewhere. I suppose I could be talked into that, particularly given Matlab's misbehavior here. Jim?
0001-nohup-clarify-stdin-redirection.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |