Hi Chris,

I tried using os.system as well but it did not even open up the command
prompt.

Can you please share the code that worked for you.. just wondering if I'm
missing something very basic.

Regards,
-Vijay Swaminathan.,

On Thu, May 12, 2011 at 1:38 PM, Chris Angelico <ros...@gmail.com> wrote:

> On Thu, May 12, 2011 at 3:35 PM, vijay swaminathan <swavi...@gmail.com>
> wrote:
> > I tried using QThread as well.. But the problem is, on the run method
> when i
> > invoke the command prompt, it sends out the finished signal...  I want it
> to
> > send out the finished signal only on closing the command prompt that is
> > invoked earlier in my process.
>
> >         subprocess.call(["start", "/DC:\\PerfLocal_PAL",
> > "scripts_to_execute.bat"], shell=True)
>
> This is your problem, still. You need to change to a call that waits.
> In my testing on Windows (Python 2.6.5), this can be done with
> os.system() quite happily. Change that, and it should all work.
>
> Chris Angelico
> --
>  http://mail.python.org/mailman/listinfo/python-list
>



-- 
Vijay Swaminathan
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to