Suppose I'm using ShellStream in the following way:
By the way, the command './interactive_command.sh' awaits the response silently, that is without any asking strings.
shellStream.Write("./interactive_command.sh\n"); // Command, that will ask me to prompt something
shellStream.Write("my first string\n"); // My first response to the prompt
shellStream.Write("my second string\n"); // My second response to the prompt
How do I know that the command './interactive_command.sh' has finished working and I can dispose ShellStream?By the way, the command './interactive_command.sh' awaits the response silently, that is without any asking strings.