home bbs files messages ]

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

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

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

   Message 1,110 of 2,978   
   Marco van de Voort to kakashi   
   Re: freepascal linux, result of a progra   
   17 Nov 04 18:13:40   
   
   From: marcov@stack.nl   
      
   On 2004-11-17, kakashi  wrote:   
   > Hi,   
   >   
   >  From my freepascal program, I would like to execute another program,   
   > and depending on the arguments passed to this program,   
      
   This is easy, use e.g. sysutils.executeprocess (1.9.2+)   
      
   >it would generate a result ( strings ) and give it to the original program.   
      
   This is harder, best way is to work with pipes. Have a look at the TProcess   
   class in the FCL. It structures this. The lazarus people   
   (http://lazarus.freepascal.org) have lots of experience with it, they use it   
   to call the compiler, debugger and other helpers from the IDE   
      
   --- 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