Fix start/stop script output redirection
Commonise exec() of commands
Only redirect output to /dev/null on systems that otherwise block exec (e.g. Travis)