[openbeos] popen() alternatives

  • From: "Jonas Sundstrom" <kirilla@xxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 20 Jul 2003 17:47:47 +0200 CEST

Hi ! 

I've been working on ZipOMatic lately, but now that I'm
close to finishing it, I don't know how to kill the zip process,
having started it with popen().

It does a lot, but as of yet, no zipping:
http://www.kirilla.com/people/jonas/obos/ZipOMatic.zip

I need to open a process (or multiple ones), read it's output,
kill off the process if the user presses Stop, or otherwise wait
for it to terminate.

And it needs to be thread-safe, so, IIRC, no fork()'ing.
(there will be BLoopers around)

So, what are the alternatives to popen() that allows
reading and killing?

Is there a pkill()?

/Jonas Sundström.                            www.kirilla.com

Other related posts: