as said in the title I wrote a batch file that is called by a php script using
The batch file executes a python script (..once again..) and looks like this:
pclose(popen('download.bat -o dl_videos\\'.$videoId.'\\'.$videoId.'.flv "http://www.youtube.com/watch?v='.$videoId.'" C:\\wamp\www\\VideoTOCcer\\youtube\\webpage\\dl_videos\\'.$videoId.'\\'.$videoId.'.flv.dlfin', 'w'));
this doesn't seem to work, I can see python.exe running in the taskmanager but nothing else happens - a download of a youtube video should be triggered, after finishing the download I want a folder created telling another script the download has finished.
c:\wamp\www\python\youtube-dl.py %1 %2 %3
using echo I check what php gives to the batch as variables, if I paste that quote in to the cmd pompt everything works as it should. I'm a bit confused. I set rights on the python script for IUSR and calling it directly via pclose(popen()) everything worked fine.
Thanks for any hint