I am trying to have a bash script that does the following (in pseudocode):
#!/bin/bash run myapp (which needs arguments given from stdin) /* do some extra stuff */ provide arguments to hanging process myapp
For example, let's say you started myapp, and after starting it asks for your name. Ie, I run it through bash, but I don’t want to give it a name yet. I just want it to be executed for now, but for now bash is doing some other things, and then I want to provide my name (still through bash). How can I do it?
source share