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 python
> script from php,
> os.system command is not working what might be the problem.

Your question is lacking some context, like Alan already mentioned, but my
first suspicions would be:

- Relying on a PATH that doesn't exist/is not as you expect in that environment
- Relying on a working directory that turns out to not be what you expected

Attachment: pgpYrKxQgRu70.pgp
Description: PGP signature

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to