I have a shell script (bash) which calls an application which opens a shell from a peripheral device connected to the computer. The script will not execute any commands after that until the device shell exits. How can I pass commands to the device as if I were just typing them and executing?
EDIT: nvm. i got it. delete thread please.