In <mailman.10422.1401310723.18130.python-l...@python.org> Satish Muthali
> Now I want to feed the value for 'freecalc_total' as an argument to
> a command executed by the shell.
> For example:
> devnull = open(os.devnull, 'w')
> runCommand = subprocess.call(['stressapptest', '<I want to pass
> the value of freecalc_total here>'], stdout=devnull,stderr=subprocess.STDOUT)
I think you can just include freecalc_total directly as part of the
argument list, like this:
runCommand = subprocess.call(['stressapptest', freecalc_total],
John Gordon Imagine what it must be like for a real medical doctor to
gor...@panix.com watch 'House', or a real serial killer to watch 'Dexter'.