Thanks for the reply, but it seems I run into the same problem like
before when I use the subprocess module.
I modified your example in the following way:
echo.py
import sys
if __name__ == '__main__':
while 1:
indata = sys.stdin.readline()
if indata=='end\n': break
if __name__ == '__main__':
child = subprocess.Popen(
['python', 'echo.py'],
Try adding -u as an option to Python - this will force Python to reopen
stdout etc as unbuffered (ie, the problem is the client is buffering)
Mark
___
Dear Amit Upadhyay,
Try using cx_Freeze
http://starship.python.net/crew/atuining/cx_Freeze/
Bill Vax PAPADOPOULOS
__[EMAIL PROTECTED][EMAIL PROTECTED]
___
Python-win32 mailing list
Python-win32@python.org
On 7/11/05, Amit Upadhyay [EMAIL PROTECTED] wrote:
Hi,
I have a COM server which is working fine on my development machine,
[snip]
But when I tranfer it to some other machine, i can not create an
inproc instance of it using win32com.client.dispatch, it gives me:
Python 2.3.5 (#62, Feb
I had looked over the methods to list/kill processes on Win32, and could
not (yet) find a pure Python way to do it that works on 9x,
since I could not get win32pdhutil to work on 98.
So, I combined subprocess.py and pv.exe from
http://www.xmlsp.com/pview/PrcView.zip
and wrote a quick app to kill
At Tuesday 12/7/2005 14:04, Ray Schumacher wrote:
I had looked over the methods to list/kill processes on Win32, and could
not (yet) find a pure Python way to do it that works on 9x, since I
could not get win32pdhutil to work on 98.
So, I combined subprocess.py and pv.exe from
Ah, now I just found after searching for CreateToolhelp32Snapshot
http://sourceforge.net/mailarchive/message.php?msg_id=8291643
Thanks Gabriel,
Ray
At 07:46 PM 7/12/2005, Gabriel Genellina wrote:
At Tuesday 12/7/2005 14:04, Ray Schumacher wrote:
I had looked over the methods to list/kill