spawnl issues with Win 7 access rights

Tim Golden mail at timgolden.me.uk
Thu Oct 27 06:36:17 EDT 2011


On 27/10/2011 11:27, Propad wrote:
> the suggestion to add the optional second parameter fixed the problem,
> spawnl now works on the Win 7 computer I'm responsible for (with
> Python 2.2). So the suggested cause seems to be right.

FWIW, although it's not obvious, the args parameter to spawnl
is intended to become the sys.args (in Python terms) of the
newly-spawned process. Which is why the first element is expected
to be the name of the process. It took me some time to realise
this myself :)

Anyway, glad we could be of help.

TJG



More information about the Python-list mailing list