[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] monotone automate stdio
From: |
Timothy Brownawell |
Subject: |
Re: [Monotone-devel] monotone automate stdio |
Date: |
Wed, 18 May 2005 19:10:02 -0500 |
On 5/18/05, Jerome Fisher <address@hidden> wrote:
> This strikes me as bad for the obvious reason that the delimiters
> appearing in the command output would mess things up. You'd need to
> ensure that user data (such as filenames, cert keys and values, cats and
> diffs) are never inserted in such a way that they could be considered a
> delimiter.
>
> From the top of my head, you could either:
>
> 1) Have a method for escaping delimiters when they literally appear in
> the command output.
> 2.a) Have all command output in a format that is always distinguishable
> from non-command output (such as Joel proposed).
> 2.b) Have user data in a format that is always distinguishable from
> non-command output.
> 3) Before the command output, specify how many bytes or lines the
> command output is going to be.
> 4) Use stdout for command output and stderr for non-command output.
I think I like (3) the best. With the mentioned possibility of binary
output, it'd have to be in bytes. So, <done/not done> comma <number of
bytes> colon <output> .
Tim
- [Monotone-devel] monotone automate stdio, Timothy Brownawell, 2005/05/13
- Re: [Monotone-devel] monotone automate stdio, Joel Crisp, 2005/05/15
- Re: [Monotone-devel] monotone automate stdio, Jerome Fisher, 2005/05/18
- Re: [Monotone-devel] monotone automate stdio,
Timothy Brownawell <=
- Re: [Monotone-devel] monotone automate stdio, Sebastian Spaeth, 2005/05/19
- Re: [Monotone-devel] monotone automate stdio, Timothy Brownawell, 2005/05/19
- Re: [Monotone-devel] monotone automate stdio, jc007b6093, 2005/05/20
- Re: [Monotone-devel] monotone automate stdio, Matthew A. Nicholson, 2005/05/20
Re: [Monotone-devel] monotone automate stdio, Nathaniel Smith, 2005/05/18
- Re: [Monotone-devel] monotone automate stdio, Timothy Brownawell, 2005/05/18
- Re: [Monotone-devel] monotone automate stdio, Nathaniel Smith, 2005/05/19
- Re: [Monotone-devel] monotone automate stdio, Timothy Brownawell, 2005/05/20
- Re: [Monotone-devel] monotone automate stdio, Nathaniel Smith, 2005/05/20
- Re: [Monotone-devel] monotone automate stdio, Timothy Brownawell, 2005/05/21