Not logged inOpenClonk Forum
Up Topic 14 months, Christmas and the like.

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Caesar
You start getting zombie processes; you have to be extra careful that nothing writes to buffered pipes/everything flushes correctly; if you use some programming language's API, that one feature you need to do it correctly won't be there, good luck if you expect it to be platform independent; …

What you want is spawning a subprocess with stdin/stdout attached, reads with timeouts (usually that is realized through nonblocking reads and timeouted polls), being able to close pipes, being able to wait on the process to exit (again with a timeout), being able to kill the process.

But yeah, this is a bit OT…

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill