On Aug 18, 11:34 am, Fredrik Lundh <fred... at pythonware.com> wrote: > >>> import sys, subprocess > >>> subprocess.call([sys.executable, "-c", "print 'hello'"]) > hello > 0 10x :). exactly what I was looking for.