einhornsh is not script friendly #8

Closed
ebroder opened this Issue Jul 10, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

ebroder commented Jul 10, 2012

Right now, einhornsh is almost scriptable, but the resulting output leaves something to be desired:

evan@caron:~/stripe/einhorn$ echo reload | bin/einhornsh time-srv
Welcome evan! You are speaking to Einhorn Master Process 27289 (time-srv)
Enter 'help' if you're not sure what to do.

Type "quit" or "exit" to quit at any time
> Reloading, as commanded
> 
^C

In particular, it doesn't exit automatically if it gets an EOF from stdin, and it's pretty verbose.

It would be nice if einhornsh checked if stdin is a tty, and interact in a less verbose, more scripting friendly mode.

gdb closed this in f1f5d06 Sep 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment