fix spawnlp usage

This commit is contained in:
Christophe Benz 2010-09-28 02:26:05 +02:00
commit 9da22142be

View file

@ -66,7 +66,7 @@ class VideoPlayer():
""" """
player_name = self.get_player_name() player_name = self.get_player_name()
print 'Invoking "%s %s".' % (player_name, video.url) print 'Invoking "%s %s".' % (player_name, video.url)
os.spawnlp(os.P_NOWAIT, player_name, video.url) os.spawnlp(os.P_NOWAIT, player_name, player_name, video.url)
def _play_rtmp(self, video): def _play_rtmp(self, video):
""" """