Make Sample take a pid instead of exec.Cmd