
ms10380
Novice
Oct 22, 2009, 6:48 AM
Post #1 of 2
(195 views)
|
I am trying to start windows media player from the command line to play a file, but I do not want to wait for the process to complete. Is there anyway to do this. My code right now is system("C\\Program Files\\Windows Media Player\\wmplayer.exe $mediaplaylist"); but this does not continue to the next line of my script as it is waiting for media player to complete playing all file and for me to manually close it. Is there some command/flag for system which can help here? Thanks
|