Added restart function and changed process execution to exec.Command. (thanks @divoxx)