Re: fork/exec vs system
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: fork/exec vs system




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: fork/exec vs system  
Rainer Weikusat


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-25-07 12:19 PM

Rainer Weikusat <rainer.weikusat@sncag.com> writes:

[...]

> A better, but not universally portable solution, would be to close
> everything > 2 listed in /dev/fd (supported at least by Solaris and
> *BSD and indirectly by linux, through symlink /dev/fd ->
> /proc/self/fd).

Some additional information on this:

<URL:[url]http://www.awprofessional.com/articles/article.asp?p=99706&seqNum=15&rl=1[/ur
l]>

So this should be supported on any actual UNIX(*) (or unix-like)
system one can reasonably expect to encounter today.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:57 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register