Re: subprocess executing shell

2009-10-22 Thread Tim Arnold
"Gabriel Genellina" wrote in message news:mailman.1840.1256202325.2807.python-l...@python.org... > En Wed, 21 Oct 2009 12:24:37 -0300, Tim Arnold > escribió: > >> Hi, I'm writing a script to capture a command on the commandline and run >> it >> on a remote server. >> I guess I don't understand

Re: subprocess executing shell

2009-10-22 Thread Nobody
On Wed, 21 Oct 2009 11:24:37 -0400, Tim Arnold wrote: > Hi, I'm writing a script to capture a command on the commandline and run it > on a remote server. > I guess I don't understand subprocess because the code below exec's the > user's .cshrc file even though by default shell=False in the Popen

Re: subprocess executing shell

2009-10-22 Thread Gabriel Genellina
En Wed, 21 Oct 2009 12:24:37 -0300, Tim Arnold escribió: Hi, I'm writing a script to capture a command on the commandline and run it on a remote server. I guess I don't understand subprocess because the code below exec's the user's .cshrc file even though by default shell=False in the Popen

subprocess executing shell

2009-10-21 Thread Tim Arnold
Hi, I'm writing a script to capture a command on the commandline and run it on a remote server. I guess I don't understand subprocess because the code below exec's the user's .cshrc file even though by default shell=False in the Popen call. Here's the code. I put a line in my .cshrc file: echo '