Re: [Tutor] os.system() not working

2013-08-28 Thread Chris Down
On 2013-08-28 08:16, wolfrage8...@gmail.com wrote: > PHP is not Python. You misread. > > I have a python program which i am calling from a php script. pgpqqKjmHTR5l.pgp Description: PGP signature ___ Tutor maillist - Tutor@python.org To unsubscribe

Re: [Tutor] os.system() not working

2013-08-28 Thread wolfrage8...@gmail.com
On Tue, Aug 27, 2013 at 6:33 AM, Nitish Kunder wrote: > Hii > I have a python program which i am calling from a php script. > The arguments to the program is a path to the file > The program when directly run from console executes normally. > But when I try to execute the program from browser ie c

Re: [Tutor] os.system() not working

2013-08-27 Thread Dominik George
Hi, in any case and apart from what was already said, your setup sounds very awkward, if not insane. Are you sure your implementation is a good idea? -nik Nitish Kunder schrieb: >Hii >I have a python program which i am calling from a php script. >The arguments to the program is a path to th

Re: [Tutor] os.system() not working

2013-08-27 Thread Chris Down
Hello, On 2013-08-27 16:03, Nitish Kunder wrote: > I have a python program which i am calling from a php script. > The arguments to the program is a path to the file > The program when directly run from console executes normally. > But when I try to execute the program from browser ie call the pyt

Re: [Tutor] os.system() not working

2013-08-27 Thread Alan Gauld
On 27/08/13 11:33, Nitish Kunder wrote: I have a python program which i am calling from a php script. How are you executing the PHP script? Which OS? Which web server? Which browser? Have you tried others? The arguments to the program is a path to the file The program when directly run from c

[Tutor] os.system() not working

2013-08-27 Thread Nitish Kunder
Hii I have a python program which i am calling from a php script. The arguments to the program is a path to the file The program when directly run from console executes normally. But when I try to execute the program from browser ie call the python script from php, os.system command is not working