    ______________377

     - ,  -
    

   ,     

6.1.2     spawnip

 spawnip     execlp,  
  .        
 process.h  stdio.h.  :

int spawnip(int mode, char *path, char *arg0, argi, ..., argn, NULL)

 spawnip   execlp   mode, 
  ,   .   -
,  ,    (   .  
14   14.14.2):

P_WAIT               
,     

P_NOWAIT            
  .   -
  16- Windows  DOS

P_DETACH         P_NOWAIT,    -
   ,      
  

P_OVERLAY            .
 ,    execlp

 . 

if(spawnip(P_WAIT,"arj","arj","e doc.arj al.txt", NULL))
ShowMessage(" arj  ");

else
(
Memol->Clear();

Memol->Lines->LoadFromFile("al.txt");

DeleteFile("al.txt") ;

t

  arj,    doc.arj  al.txt. -
 ,   arj  ,   -
     Memol      .

    ,    -
,    .      ,  -
    :

if(spawnip(P_WAIT,"arj","arj","e","doc.arj","al.txt", NULL))

,   ,    
 execlp,        -
.         spawnip  ,
  P_WAIT,          -
   ,    .

 ,       
 .      ,    arj,