On 23 Jul 2002, Michel Arboi wrote:

> IMHO, ptycall is a buggy & unportable piece of code that should be
> replaced by popen() 

Does of the programs executed by ptyexecvp() (as far as I can tell, all
wrapper plugins use it) need a terminal (or a pseudoterminal)? If the
answer is no, you can get rid of ptycall.c. But I think it would be better
to use "manual" pipe()+fork()+exec*() instead of popen() because popen()
(unlike ptyexecvp()) executes a shell and I do not think it would be a
good idea to open the can of worms labelled "Shell Metacharacter".

--Pavel Kankovsky aka Peak  [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."

-
[EMAIL PROTECTED]: general discussions about Nessus.
* To unsubscribe, send a mail to [EMAIL PROTECTED] with
"unsubscribe nessus" in the body.
* To subscribe again, send a mail to [EMAIL PROTECTED] with
"subscribe nessus" in the body

Reply via email to