[docs] trouble with os.system
sandro.tosi at gmail.com
Fri May 4 00:00:37 CEST 2012
this mailing list is about bugs/enhancements to CPython documentation,
and your email doesn't fit this description. I'd suggest to contact a
user support forum, such as
On Thu, May 3, 2012 at 10:16 AM, Ruben Nielsen <ruben.nielsen at mosek.com> wrote:
> Hello, I've been trying to build a python module that needs to call an
> external script.
> 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.
> docs mailing list
> docs at python.org
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
More information about the docs