Re: Help for gdk threads and fork with execlp needed



`man execlp' yields:

       Traditionally,  the  functions  execlp  and  execvp ignored all
errors
       except for the ones described above and ENOMEM and E2BIG,  upon 
which
       they  returned.   They  now  return  if  any error other than the
ones
       described above occurs.

so you might want to at least `perror("execlp")'

a possibility (although slim) is that initializing
threads alters your $PATH environment ?

did you try a raw execve() ?

also; are you sure that the child was
ever executed ?
 
HTH,
        -Tristan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]