Re: Easy shell question: how to make a script killing all his childs when killed?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alex Riesen
Date: Saturday, December 9, 2006 - 2:39 pm

Marco Costalba, Sat, Dec 09, 2006 18:51:57 +0100:

Why do you need to save it in temporary file at all? Why don't you
read the output like gitk does?  You can take a look at popen(3). It's
known to be portable among operating systems and libc's.  Or, BTW, why
don't you just read qprocess.h, use processIdentifier()/pid(),
read*()-methods and the like?  (though, looking at the QProcess in
qt3, I wouldn't really blame you)
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Easy shell question: how to make a script killing all ..., Alex Riesen, (Sat Dec 9, 2:39 pm)