[PD] [popen] and PHP on windows

Jack jack at rybn.org
Wed Sep 10 19:53:28 CEST 2008


Le 10 sept. 08 à 19:01, patco a écrit :

> Le mercredi 10 septembre 2008 à 18:16 +0200, Jack a écrit :
>> However, when i enter directely 'C:/wamp/bin/php/php5.2.6/php.exe -f
>> C:/wamp/www/ADM/arbre.php 10' in a Command Prompt window and press
>> 'Enter', all works fine and Pd receive the datas.
>
> it's hard to believe that cmd is able to read slashes like backslashes
Yes, you are right, it was backslashes, i just do copy and paste  
sorry ;)
How do you do to receive a variable in a .bat to send (in my exemple)  
10 to 'arbre.php' ? (Pd send 10 to .bat then .bat send 10 to PHP).
Thanx
++

Jack


>
> however, I usually write a batch file and start the .bat file with
> popen, and problems goes away.
>





More information about the Pd-list mailing list