> imex_exe=r'C:\Program Files\CMG\IMEX\2005.10\EXE\mx200510.exe'
> imex_args=('mx200510.exe','-f',imex_fil,'-wd','"'+work_dir+'"')
>
> for n in range(1,nscen):
> os.spawnv(os.P_WAIT, imex_exe, imex_args)
>
> and it seems to work. Not sure why I need to provide the name of
> the
> applicat
Thanks for that Kent. I did
imex_exe=r'C:\Program Files\CMG\IMEX\2005.10\EXE\mx200510.exe'
imex_args=('mx200510.exe','-f',imex_fil,'-wd','"'+work_dir+'"')
for n in range(1,nscen):
os.spawnv(os.P_WAIT,
imex_exe, imex_args)
and it seems to work. Not sure why I need to provide the name of
Etrade Griffiths wrote:
> Hi
>
> I am trying to write a PYTHON script that automates the running of an
> application program MX200510.EXE under XP Pro via a DOS window. This file
> is in directory
>
> C:\Program Files\CMG\IMEX\2005.10\EXE
>
> The command line arguments are
>
> MX200510.EXE -
Hi
I am trying to write a PYTHON script that automates the running of an
application program MX200510.EXE under XP Pro via a DOS window. This file
is in directory
C:\Program Files\CMG\IMEX\2005.10\EXE
The command line arguments are
MX200510.EXE -f "temp.dat" -wd "C:\Projects\Vitol\New
busin