Use system instead of exec.