U
U
uuuu2020-12-20 23:10:41
bash
uuuu, 2020-12-20 23:10:41

How to wait for a response from the window?

How to wait for a response from the window and only then continue working if such a message is sent, and the program in the window will definitely answer?
sleep is not the best idea

screen -S screenname -X eval 'stuff "say Hello"\015'
sleep 5
echo "Completed"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SOTVM, 2020-12-21
@sotvm

use operator or ||

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question