Search found 2 matches
- Thu May 13, 2010 4:20 pm
- Forum: PHP - Code
- Topic: system() not returning result?
- Replies: 2
- Views: 66
Re: system() not returning result?
Actually, I found that passthru() is really all I need -- I just need to display the output. But this still doesn't get me the output. This displays nothing: passthru("python /Volumes/code/code/_sendrender/_outputstatus.py"); But this, again, displays the Python help: passthru("python...
- Thu May 13, 2010 3:56 pm
- Forum: PHP - Code
- Topic: system() not returning result?
- Replies: 2
- Views: 66
system() not returning result?
I have a Python script that I'd like to display the results of in PHP. This is my code: if(system("python /Volumes/code/code/_sendrender/_outputstatus.py")) { echo "yes"; } else { echo "no"; } The result is "no". I double-checked the command, and it's correct....