[docs] trouble with os.system
ruben.nielsen at mosek.com
Thu May 3 10:16:59 CEST 2012
Hello, I've been trying to build a python module that needs to call an
I have tried both with os.system() and subprocess.call()
Trouble is, both of them return value 0 meaning 'they succesfully ran the
script', however, the script isn't run properly.
os.system('/var/www/lmcrypt -i '+lic_out_loc+licfilename+' -o
when the script lmcrypt is run from any user through the terminal, the
output file is generated successfully, but when the call is invoked through
python, only empty files are generated. With what i've checked, it looks
like it must be a problem within python.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the docs