Skip to content
Snippets Groups Projects
Select Git revision
  • 7be9faa88bbfeb0420411f0bf92143375722686e
  • 2025ss default
  • 2024ss
  • 2023ss
  • 2022ss
  • 2021ss
  • 2020ss
  • 2019ss
  • 2018ss
  • 2017ss
  • 2016ss
  • 2015ss
  • 2014ss
13 results

array-param-05.c

Blame
  • start_server.sh 297 B
    #!/bin/bash
    
    # Start server
    ./build/smart_grid.exe &
    SMART_GRID_PID=$!
    
    # Wait for exit
    echo "Press 'q' to exit"
    count=0
    while : ; do
    read -n 1 k <&1
    if [[ $k = q ]] ; then
    printf "\nQuitting from the program\n"
    kill $SMART_GRID_PID
    ./all_off.sh
    break
    else
    echo ""
    echo "Press 'q' to exit"
    fi
    done