• Joshua Yanovski's avatar
    More fixes to stdin input. · 33494c0e
    Joshua Yanovski authored
    Adding tty makes sure docker attach won't be accidentally detached
    by ctrl-C (there are better ways of doing this but this one works
    for now)
    shell-words more closely emulates Bash's tokenizer rules (but without
    doing things like environment variable expansion) which allows us to use
    multiline strings as reasons, etc.  Unfortunately entering newlines
    still won't work the way we've written things since shell-words does not
    right now give enough information to incrementally build up a valid
    string, just says there was a tokenizing error; but maybe in the future
    we can fix that.