Re: execv() terminates a program
Jens.Toerring_at_physik.fu-berlin.de
Date: 06/27/03
- Next message: Anand Agrawal \(agrawala\): "Re: execv() terminates a program"
- Previous message: Geoff Liu: "A issue to LEX/YACC error report"
- In reply to: Evgeny Baskakov: "execv() terminates a program"
- Next in thread: Anand Agrawal \(agrawala\): "Re: execv() terminates a program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 27 Jun 2003 11:38:18 GMT
Evgeny Baskakov <jek_bask@ngs.ru> wrote:
> I have a program that uses threads (Linux, pthread 0.10).
> One thread asks to another one, called "Forker", to execute an
> application, given by a filename. The Forker thread calls fork()
> function and then the child process calls execv() function.
> Regardless of expectation, the application not starts, and my
> program immediately terminates with 0 exitcode.
Which program? The child process?
> I not understand a thing. Someone can explain me this strange
> bahavior?
Unless you post the code you use with the execv() call that's
hardly going to be possible. First guess is you're making some
mistakes there, but without seeing what you do it's impossible
to tell.
Regards, Jens
--
_ _____ _____
| ||_ _||_ _| Jens.Toerring@physik.fu-berlin.de
_ | | | | | |
| |_| | | | | | http://www.physik.fu-berlin.de/~toerring
\___/ens|_|homs|_|oerring
- Next message: Anand Agrawal \(agrawala\): "Re: execv() terminates a program"
- Previous message: Geoff Liu: "A issue to LEX/YACC error report"
- In reply to: Evgeny Baskakov: "execv() terminates a program"
- Next in thread: Anand Agrawal \(agrawala\): "Re: execv() terminates a program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|