Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2002 11:24:08 +0100 (MET)
From:      Paul Everlund <tdv94ped@cs.umu.se>
To:        Aaron Burke <aburke@nullplusone.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Problems with a C application that changes users and run 'screen -x'
Message-ID:  <Pine.GSO.4.44.0212201120540.19980-100000@kvist.cs.umu.se>
In-Reply-To: <Pine.GSO.4.44.0212201041270.19542-100000@kvist.cs.umu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 20 Dec 2002, Paul Everlund wrote:

Found an error in my reply...

> On Fri, 20 Dec 2002, Aaron Burke wrote:
>
[big snip]

> I think execlp is writing over your current process. So first your
> process is exchanged with ppp, then ppp is exchanged with screen. You
> have to make a copy of your current process, a.out, by using fork, and
> then exchange the process image in this copy using execlp.

Correction... Your a.out process is replaced with ppp, then nothing
else happens, as screen never is called du to the replacement.

> Best regards,
> Paul

Best regards,
Paul


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44.0212201120540.19980-100000>