I know you can use subshells to feed a program arguments, like:
./myProgram $(python2 -c "print 'SomethingHere'")
But let's assume that after running the program, it asks for more inputs. For example:
./myProgram SomethingHere
[+] Argument Processed!
[+] Please Enter an Access Code:
Is there a way the I can pass the access code via a subshell?