executing console commands on windows

Have you tried os.system or os.exec*? I'm not too sure what you're
trying to do but the os.popen family might be helpful too if you need to
give some input to the binary or parse the output. Is this supposed to
be done automatically or manually?

···

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Haim Ashkenazi
Sent: Tuesday, February 10, 2004 2:10 PM
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython-users] executing console commands on windows

Hi

I'm writing a gui application on windows, and one button should launch a
'cmd' window running a binary (pscp.exe), and I can't make it work. I've
tried win32api.WinExec running the command directly, or from a batch
file and it doesn't open a 'cmd' window. it only produces the output in
the boa-constructor output window. I need it to open a cmd window
because I need to give it some input and see the progress bar that pscp
displays.

I HATE WINDOWS!!! (sorry, I'm just too frustrated...)

can anybody help?

thanx
--
Haim

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org