home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c++.moderated      Moderated discussion of C++ superhackery      33,346 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 32,357 of 33,346   
   Jens Schmidt to Wil Evers   
   Re: program launcher API for C++?   
   03 Jun 12 20:46:40   
   
   From: Jens.Schmidt-HH@gmx.de   
      
   Wil Evers wrote:   
      
   > Well, I can certainly see why it makes sense to inherit (or redirect)   
   > the standard input, output and error channels.  The thing I don't   
   > understand is why any other descriptor should be inherited.  How is an   
   > exec'ed()/CreatedProcess()'ed program even supposed to be aware of any   
   > other descriptor?  It seems to me that implicitly passing on any handle   
   > other than a standard one is just asking for trouble.   
      
   Unnamed pipes are a convenient method for passing data securely between   
   the processes. Other methods like parameters, environment variables, or   
   files can be observed by other processes.   
      
   This is e.g. used by programs asking for passwords in GUI environments.   
   Here all the security implications (often these are open questions) of   
   using a GUI are removed from the parent process.   
   --   
   Greetings,   
     Jens Schmidt   
      
      
         [ See http://www.gotw.ca/resources/clcm.htm for info about ]   
         [ comp.lang.c++.moderated.    First time posters: Do this! ]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca