cmake_minimum_required(VERSION 2.8) execute_process(COMMAND sleep 2) execute_process(COMMAND ${CMAKE_COMMAND} -E echo "helo test.example.net\r") execute_process(COMMAND sleep 1) execute_process(COMMAND ${CMAKE_COMMAND} -E echo "noop\r\nnoop\r\nnoop\r") execute_process(COMMAND sleep 1) execute_process(COMMAND ${CMAKE_COMMAND} -E echo "noop\r\nquit\r") execute_process(COMMAND sleep 1)