Zsh Mailing List Archive
Messages sorted by:
Re: nohup dies
- X-seq: zsh-users 11889
- From: "Pau Amaro-Seoane" <vim.unix@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: nohup dies
- Date: Sat, 29 Sep 2007 09:23:34 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=nuaEjRyOJ5UKFRNGwlIJ3EOteyDsVKY1ssHL1oec8SE=; b=TEu/T8Nuk9uio0pd4RgO0U6BYjmIxMhMe3YjDFbbqkr56300pzu4O5d/UD+7A1NGVTbPaCHCQhDGVWnOiKd8/cAHRu5SUl4qjKmwQiALBcPu0ESX3XywChm4sTsGOeLBU4aZiQlKQLKF4A52oZNsk4FiPp+eNz3LuuAaZZ9QiVo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CxjGUPkjR+KVKxbIUASWawelyB2sU39hiMaBpz9/xxzt1yBIpfnCDOduybWs5YLxpg0QY5sT6WdtqH2c86qQBvCV3MTzWEszKPODz29dS+xmWt4Ei3yxbfnahvUpx45Jp6Ntswvg7McOPByaQhVkTgJHp3f166Q+OIwSdMAaQkQ=
- In-reply-to: <200709282056.l8SKugEA000576@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <vim.unix@xxxxxxxxxxxxxx> <30c383e70709281338x1f2609dcsdc4dd7283d387c1c@xxxxxxxxxxxxxx> <200709282056.l8SKugEA000576@xxxxxxxxxxxxxxxxxxx>
- Reply-to: vim.unix@xxxxxxxxx
thanks for the answer
> nohup is not a shell builtin; it's simply an executable programme that's
NOTE: your shell may have its own version of nohup, which
usually supersedes the version described
here. Please refer to your shell's documentation for details
about the options it supports.
>zsh creates a pipeline
> zsh forks:
> In the subshell, "nohup cat ./input" is run
> zsh forks again
> In the new subshell, ~pau/executables/... is run
>So the "nohup" doesn't cover the second executable.
can you tell me of a more robust/elegant way of doing it?
> A lot of other shells, I presume (but I haven't actually checked)
> including ksh, don't send SIGHUP to processes when the shell exits.
But zsh is supposed to emulate ksh, right?
nohup whatever should work regardless of shell. And it _did_ in the
older version of zsh, now not anymore. Can you tell me why?
the "solution" for now is to launch the simulation with ksh... or
resort to screen... but it's a pity, I stick to zsh a lot
Messages sorted by: