I have a script StartProcess.sh that accepts two options in stdin - 3 and a filename test.xml.
If I run the below script, it executes correctly, and waits again for the input.
I want someway to pass 3 and test.xml n times to StartProcess.sh. How do I achieve this.
./StartProcess.sh << STDIN -o other --options
3
test.xml
STDIN