Re: how to spawn a process under different user

2009-07-03 Thread Nick Craig-Wood
Gabriel Genellina wrote: > En Thu, 02 Jul 2009 19:27:05 -0300, Tim Harig > escribió: > > On 2009-07-02, sanket wrote: > >>> sanket wrote: > >>> > 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 using python

Re: how to spawn a process under different user

2009-07-02 Thread Gabriel Genellina
En Thu, 02 Jul 2009 19:27:05 -0300, Tim Harig escribió: On 2009-07-02, sanket wrote: sanket wrote: > 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 using python 2.4 on centos. I have never done this in python;

Re: how to spawn a process under different user

2009-07-02 Thread Tim Harig
On 2009-07-02, sanket wrote: >> sanket wrote: >> > 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 using python 2.4 on centos. I have never done this in python; but, using the normal system calls in C the process is

Re: how to spawn a process under different user

2009-07-02 Thread sanket
On Jul 2, 1:58 pm, Tim Golden 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 pro

Re: how to spawn a process under different user

2009-07-02 Thread Tim Golden
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.

how to spawn a process under different user

2009-07-02 Thread sanket
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. Thank you, san