`uru gem <command>` requiring user interaction fails

Issue #51 resolved
Jon repo owner created an issue

Gem upgrades (e.g. - uru gem up rake) can require overwrites to existing binfiles and uninstalls (e.g. - uru gem uni minitest) can require identification of specific versions. Rubygems provided prompts and require user responses.

Uru does not currently work well in these scenarios due to how uru creates child processes to do the work. Uru is handling stdin and stdout with the child process in a way that does not work with these scenarios.

Comments (4)

  1. Jon reporter

    As the child process's intermediate output is not shown until after the command exits, investigate pipe semantics rather than simply connecting up stdin to the child process.

    Typical failure signature is to appear to hang indefinitely, but in reality the child process has presented a message and is waiting for user input. Since the child message is not currently displayed, user doesn't know child process is awaiting input and thinks the command is hung.

  2. Log in to comment