Hi,
Perhaps because I have CYGWIN installed, my [popen] accepted back slashes. I wrote a script that ouputs ($argv[1] * 2) and sent it the following message. [php c:/phptest.php 10 < results were good. -- David Shimamoto > 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. >> > > > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list