I am trying to write a program which invokes a custom command to add two numbers.
The addition function reads from standard input stream 0, input stream 3 and outputs to standard output 1.
I try to write to and read from these streams to provide arguments and retrieve results but it does not work.
When I run this it does not work. It should just print out z instantly but it waits for me to type something in and prints out gibberish like …@5…@6 when I press enter. I have to force exit to make it stop.