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

Re: Hiding a process



On Mon, Apr 15, 2002 at 08:00:12AM +0000, Miquel van Smoorenburg wrote:
> In article <[🔎] 20020415063651.GA28657@calico.local>,
> Eric G. Miller <egm2@jps.net> wrote:
> >On Sun, Apr 14, 2002 at 11:55:43PM -0500, Daniel DiPaolo wrote:
> >> On Sun, 2002-04-14 at 20:15, Michael D. Crawford wrote:
> >> >  > exec -a $NAME $COMMAND $ARGS
> >> > 
> >> > exec -a /sbin/getty 31337r007k17 -destroyeverything
> >> 
> >> Note that this is a shell specific thing (doesn't work in zsh, and I
> >> can't find the equivalent in the zsh man pages).
> >> 
> >> Works fine in bash though :)
> >
> >AFAIK, it's a Bourne Shell builtin which is generally the only portable
> >shell scripting language.  I don't know why zsh wouldn't support it,
> 
> Because POSIX/SuS do not define any flags for the 'exec' command.
> 'exec -a' is a bash specific extension.

Ahh.  It's listed under the Bourne shell compatible builtins in the
Bash manpage and I didn't see a mention there that it was a Bash
extension.  Don't have copies of POSIX/SuS documents to go through
myself...

-- 
Eric G. Miller <egm2@jps.net>


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: