System calls not using correct permissions?

skilpat at gmail.com skilpat at gmail.com
Thu Jul 14 18:51:52 EDT 2005


My Python script is basically glue for a lot of batch files and
whatnot, so it uses os.system liberally. However, there is a strange
problem where the scripts called by os.system do not function correctly
in the Python code, but work fine when I simply copy and paste the
command into the shell myself. I am thinking it's some sort of
permissions issue. The batch files contain multiple calls to other
scripts as well... don't know if that has anything to do with it. I
also set my umask to 0 at the beginning of the [Python] script and
still no luck.

Anyone know what the deal might be?

Thanks,
Scott




More information about the Python-list mailing list