Add demo.hpp
Terminate iteration if command failed