equal
deleted
inserted
replaced
1 #!/bin/bash |
1 #!/bin/bash |
2 |
2 |
3 # Run python example throug command line, and check usual output |
3 # Run python example throug command line, and check usual output |
4 |
4 |
5 coproc setsid $BEREMIZPYTHONPATH $BEREMIZPATH/Beremiz_cli.py -k --project-home ~/src/beremiz/exemples/python build transfer run; |
5 coproc setsid $BEREMIZPYTHONPATH $BEREMIZPATH/Beremiz_cli.py -k --project-home $BEREMIZPATH/exemples/python build transfer run; |
6 |
6 |
7 while read -u ${COPROC[0]} line; do |
7 while read -u ${COPROC[0]} line; do |
8 echo "$line" |
8 echo "$line" |
9 if [[ "$line" == *Grumpf* ]]; then |
9 if [[ "$line" == *Grumpf* ]]; then |
10 pkill -9 -s $COPROC_PID |
10 pkill -9 -s $COPROC_PID |