sleep half a second to allow bash to start in screen
This commit is contained in:
parent
11416bfeaf
commit
ab6105ccf6
1 changed files with 1 additions and 0 deletions
1
stack.sh
1
stack.sh
|
@ -909,6 +909,7 @@ function screen_it {
|
||||||
NL=`echo -ne '\015'`
|
NL=`echo -ne '\015'`
|
||||||
if [[ "$ENABLED_SERVICES" =~ "$1" ]]; then
|
if [[ "$ENABLED_SERVICES" =~ "$1" ]]; then
|
||||||
screen -S stack -X screen -t $1
|
screen -S stack -X screen -t $1
|
||||||
|
sleep 0.5
|
||||||
screen -S stack -p $1 -X stuff "$2$NL"
|
screen -S stack -p $1 -X stuff "$2$NL"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue