* $! - PID of disowned jobs
@ 2009-03-15 6:47 Atom Smasher
2009-03-15 16:25 ` Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Atom Smasher @ 2009-03-15 6:47 UTC (permalink / raw)
To: zsh-users
the docs say this about "$!":
! <S> The process ID of the last command started in the background
with &, or put into the background with the bg builtin.
is it a bug or undocumented feature that it also works with jobs that are
disowned with "&|" or "&!"?
thanks...
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"If people had understood how patents would be granted when most
of today's ideas were invented and had taken out patents, the
industry would be at a complete standstill today."
-- Bill Gates, Microsoft CEO, 1991
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: $! - PID of disowned jobs
2009-03-15 6:47 $! - PID of disowned jobs Atom Smasher
@ 2009-03-15 16:25 ` Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2009-03-15 16:25 UTC (permalink / raw)
To: zsh-users
On Mar 15, 7:47pm, Atom Smasher wrote:
}
} the docs say this about "$!":
} ! <S> The process ID of the last command started in the background
} with &, or put into the background with the bg builtin.
}
} is it a bug or undocumented feature that it also works with jobs that are
} disowned with "&|" or "&!"?
I would say it's both documented and a feature. Starting something with
"&|" is still starting something in the background with "&" -- it's just
shorthand for "something & disown ;"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-15 16:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-15 6:47 $! - PID of disowned jobs Atom Smasher
2009-03-15 16:25 ` Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).