Re: Command line PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm with some of the others above on using Python. Writing a command
line app is about as simple as:

import subprocess
word = 'hello'
self.espeak = subprocess.Popen(['espeak', word], stdout =
subprocess.PIPE).communicate()[0]

I think of PHP as more browser, than desktop app/webapp.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux