Fix echo keyword and move fork/exec to new run function.