Return value from os.system() call
Wildemar Wildenburger
lasses_weil at klapptsowieso.net
Sun Oct 28 10:47:55 EDT 2007
Calder Coalson wrote:
> I was searching for ways to get the return value from os.system() calls,
> when I came across this from 6 years ago. I tried what was suggested in
> this thread, but
> output = os.popen("/tmp/other").read()
> returns
> sh: line 1: /tmp/other: Permission denied
>
I would assume that this is an OS problem more than a python problem. Do
you have write access to /tmp/other?
I'm fairly sure its a permission thing.
/W
More information about the Python-list
mailing list