external program crashes when run through subprocess.popen on XP

Christan K. ckkart at hoc.net
Tue Nov 18 06:41:46 EST 2008


ckkart <ckkart <at> gmail.com> writes:

> 
> Hi,
> 
> on XP when starting a certain external program (plain C calculation
> program which communicates via stdout/fs) from python 2.5 using
> subprocess.Popen the external program crashes. It does not if started
> directly from the XP command prompt. This is not a purely python
> problems since the crash occurs as well if started e.g. from a msys
> bash shell. The only things I find worth mentioning from the windows
> debugging message is that FileVer and ProdVer of msvrct.dll differ, I
> am no windows expert though.

I just obseerved that the program does not crash if called via subprocess.call 
so it seems to be related with having a way to communicate with the external 
program or not.

Christian






More information about the Python-list mailing list