Re: [python-win32] executing dos commands

2009-03-06 Thread Vernon Cole
One warning: If you do a chdir command (for example) or define a dos environment variable, etc, in a shell script -- using any of the subprocess or os.system or such commands -- it will only affect the child procees which is created for the call, not the process you make the call from. This is not

Re: [python-win32] executing dos commands

2009-03-06 Thread Solomon.Zewdie.Altek
Von: python-win32-bounces+solomon.zewdie.altek=zf@python.org im Auftrag von King Simon-NFHD78 Gesendet: Fr 06.03.2009 15:45 An: python-win32@python.org Betreff: Re: [python-win32] executing dos commands > -Original Message- > From: python-win32-b

Re: [python-win32] executing dos commands

2009-03-06 Thread King Simon-NFHD78
> -Original Message- > From: python-win32-bounces+simon.king=motorola@python.org > [mailto:python-win32-bounces+simon.king=motorola@python.or > g] On Behalf Of Graeme Glass > Sent: 06 March 2009 12:08 > To: python-win32@python.org > Subject: Re: [python

Re: [python-win32] executing dos commands

2009-03-06 Thread Graeme Glass
On Fri, Mar 6, 2009 at 1:29 PM, wrote: > > Hi folkz, > just a simple question for a python guru:-) > > How can I execute dos commands via python? > The command exec("chdir \Dir1\dir2\..") doesn't do it. > > Many thanks in advance! > > Solomon > > ___ > p

[python-win32] executing dos commands

2009-03-06 Thread Solomon.Zewdie.Altek
Hi folkz, just a simple question for a python guru:-) How can I execute dos commands via python? The command exec("chdir \Dir1\dir2\..") doesn't do it. Many thanks in advance! Solomon ___ python-win32 mailing list python-win32@python.org http://ma