I think it was an English movie and set in modern world.
The movie is only about the one black guy (astronaut) in the spaceship, who is on a mission to reach some planet (maybe Jupiter? from what I remember), and he is alone. He decides to continue the mission and rejects the idea of landing on Earth after spending months alone on the spaceship.