On Jul 2, 1:58 pm, Tim Golden <m...@timgolden.me.uk> wrote: > sanket wrote: > > Hello All, > > > I am trying to use python's subprocess module to launch a process. > > but in order to do that I have to change the user. > > > I am not getting any clue how to do that? > > so can anyone please tell me How can I spawn a process under different > > user than currently I am logging in as. > > What platform are you on? If you are on Windows, > there was a thread on this subject some time in > the last month. (Short answer: switching user before > launching subprocess won't work; switching within > the subprocess will...) > > TJG
Hi TJG, Thanks for the reply. I am using python 2.4 on centos. Thanks, sanket -- http://mail.python.org/mailman/listinfo/python-list