rtti unix vs win32

curtin at my-deja.com curtin at my-deja.com
Wed Feb 16 15:00:04 CET 2000


i've been given a new mandate to get my code
running on unix as well as win32.

what is the best way to do a run-time type
identification of what o/s my program is running
on?

i'm doing this in quite a few locations and i'm hoping
just to check some sys parameter but have no idea
on which one...

also, on NT i use the CreateProcess() where on unix i'll
have to fork()/exec(), it seems that pdb() gets messed
up after the fork. any way to debug after forking?

thanks,

craig


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list