Mailing List Archive

ptyexecvp baaaaad / popen gooood
I don't like ptyexecvp(). It is too complex, useless, and buggy on
some systems (I had many problems on SuSE Linux 6.4 & 7.2).
Furthermore, it sets the fd to non blocking mode, forcing to poll by
testing errno (if EGAIN, sleep & redo...)

Here is a replacement: