VOGONS

Common searches


First post, by Guest

User metadata

On Fedora Core 3 x86, I am calling DosBox from wxWidgets 2.6. When I close DosBox, wxWidgets is waiting for it to finish, but it doesn't.

I looked some more, and I found out the dosbox process is a zombie.

An suggestions?

Reply 3 of 3, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

Read the libc manual regarding wait(), wait4() or waitpid(), you have to do that. Child processes stay around as zombies until you read their exit status with one of these functions.