smbclient prompting behaviour stderr vs. stdout

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jun 14 07:49:33 GMT 2006


On Wed, Jun 14, 2006 at 02:45:45PM +1000, James Peach wrote:
> 	1. the prompt always appears on stderr
> 	2. the prompt always appears on stdout in
> 	interactive mode, stderr otherwise
> 	3. the prompt always appears on stdout, and
> 	does not appear if we are in interactive mode

You probably mean non-interactive mode in 3....

I think I'd go with 3. We don't need a prompt if stdin is
from a script.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060614/ff5097f2/attachment.bin


More information about the samba-technical mailing list