Bruce M Simpson wrote: >> If the libxorp/popen.cc code is derived from the FreeBSD popen(3) >> implementation, I think that the "setpgid(0, 0)" in the line 382 of >> popen.cc should not be existed. >>
Sorry, I just re-read your question. Whilst it was inspired by FreeBSD's popen(), popen2() is *not* intended as a drop-in replacement for popen(). RunCommand requires specific semantics to run the child process in a controlled way which can be integrated with the XORP EventLoop. This is particularly important for the Windows port as the underlying APIs there are totally different. thanks BMS _______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
