I am attempting a small script to open a terminal window which in turn opens a second window but I cannot seem to enter any further data or commands into the second window from the script even though the second window has focus, that is if I press the enter key, or any other key, that input appears in the second window. During my tests I have attempted to use the echo command to see what happens and what happens is that, the second window spawns and has focus and is awaiting input. Upon closing the second window the echo command output appears in the first window. The top screenshot is the first window and the bottom one is the second?
screenshot.png
Using this code:
So my question is, how do I get the script to input data into the second (bottom) window.Code:#!/bin/bash echo "TEST" konsole --hold --workdir ~/.wine/drive_c/"Program Files"/DTS/MAS-SAS -e bash -c "WINEPREFIX=~/.wine wine cmd"; echo dtshd.exe
Bookmarks