monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] --non-interactive: run in non-interactive


From: Zbigniew Zagórski
Subject: Re: [Monotone-devel] --non-interactive: run in non-interactive
Date: Thu, 31 Jan 2008 14:40:16 +0100
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Thomas Moschny pisze:
On Wednesday 30 January 2008, Zbigniew Zagórski wrote:
Safe means that I'm sure that monotone will not ask anything from
stdin/tty user but fail miserably with some error message. Thus it's
guarantee that it will never hang up.

Couldn't we simply teach monotone to only ask the user for a password (or whatever) if it is running in a terminal?

Well it's simple but ... it may create problems, small but still, problems:

1. People may want to run monotone on terminal in non-interactive mode. Namely, automated script may have tty as stdin.

2. People might want to write hackish scripts that feed monotone with password via stdin which is not tty then. I know lua is the best choice.

3. Again Windows stays in a way. I don't know if monotone is able to reliably detect if it has TTY on windows, if it's possible then no problem.

I don't know if these arguments (esp 2) are relevant, I think that such feature should be explicit.

--
Zbigniew Zagórski
/ software developer / geek / happy daddy /





reply via email to

[Prev in Thread] Current Thread [Next in Thread]