I'd like to ask what is the most common way to parse user input to the executable program, in particular on Linux. I tried to invoke bash script that contains the following lines:
BIN_FILE=<filepath>
FLAG=<flag>\n
${BIN_FILE}
echo -ne ${FLAG}
[...]
but since the executed program is a separate thread the echo line of my script is not processed until the program terminates.
In adnvace thank you for your answers! BR -M