Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Help needed with execcmd() (was: Re: Cant fg a suspended su (4.1.0-dev-7))
- X-seq: zsh-workers 18312
- From: Philippe Troin <phil@xxxxxxxx>
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Help needed with execcmd() (was: Re: Cant fg a suspended su (4.1.0-dev-7))
- Date: 27 Feb 2003 00:47:02 -0800
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <87n0kl19el.fsf@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200302211807.h1LI74n23531@xxxxxxxxxxxxxxxxxxxxxxxxx> <1030222230416.ZM10265@xxxxxxxxxxxxxxxxxxxxxxx> <87n0kl19el.fsf@xxxxxxxxxxxxxxxx>
- Sender: Philippe Troin <phil@xxxxxxxx>
Could somebody familiar with Src/exec.c point out for me where I can
insert a statement where the following conditions are true:
- I can find out if we are doing a real exec(), not a "fake" exec
(BTW, what's a "fake" exec?), following a "exec blah" command
line. For example, in execcmd(), I can find this out with the
do_exec variable.
- the terminal (SHTTY) is still open
- there will be no more terminal or process group ids changes before
we hit zexecve() (meaning no more attachtty(), nor setpgrp())
I can't seem to find a spot where all three conditions are true.
Thanks!
Phil.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author