Bug: sonya breaks interactive stdin/stdout behavior #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When a recipe is run through sonya, commands that expect user input do not behave interactively. The prompt is not shown at the right time, and it looks like the program is hanging or not accepting input properly.
Steps to reproduce
sonyafilemain.cRun
Expected behavior
The program should behave like a normal interactive process:
Enter a string:immediatelyActual behavior
The command output is buffered and only printed after the child process exits. Because of that, the input prompt is not visible when it should be, and interactive programs do not work correctly when launched through sonya.