Can't run os.system command in Django?
- by danspants
We have a Django app running on apache server (mod_python) on a windows machine which needs to call some r scripts. To do so it would be easiest to call r through os.system, however when django gets to the os.system command it freezes up. I've also tried subprocess with the same result.
We have a possibly related problem in that Django can only access the file system of the machine it's on, all network drives appear to be invisible to it, which is VERY frustrating.
Any ideas on both of these issues (I'm assuming it's the same limitation in both instances) would be most appreciated.