Why not using utils.cmd()? At least we should check the exit_status of command and handle the problem caused by shell.