ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@altlinux.com>
To: devel@altlinux.ru
Subject: Re: [devel] Re: remote shell and background jobs
Date: Thu, 07 Mar 2002 17:38:33 +0300
Message-ID: <3C877B69.2050100@altlinux.com> (raw)
In-Reply-To: <20020307142336.GA11778@mhz.mikhail.zabaluev.name>

Mikhail Zabaluev wrote:
> Hello Dmitry,
> 
> On Thu, Mar 07, 2002 at 04:36:38PM +0300, Dmitry V. Levin wrote:
> 
>>>В ssh на altair.altlinux.ru, запускаем
>>>
>>>$ sleep 30 &
>>>$ exit
>>>
>>>Соединение не закрывается, пока не завершится фоновая задача.
>>>nohup ничего не меняет.
>>>
>>Все правильно, см. /usr/share/doc/openssh-3.0.2p1/TODO
>>
>>Виновата фоновая задача. Так будет работать:
>>$ nohup sleep 30 </dev/null >/dev/null 2>&1 &
>>$ exit
>>
>>Если непонятно, почему оно так работает, могу объяснить.
>>
> 
> Понял. На самом деле, с nohup достаточно одного </dev/null :
> выходные потоки команды она перенаправляет в nohup.out, а свои
> закрывает.
> 
> А почему на linux.ru.net этого эффекта не наблюдается?
> Старая версия sshd?

Давайте не будем про версии софта на linux.ru.net? ;-)

Rgds,
Rider






  reply	other threads:[~2002-03-07 14:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-07 11:23 [devel] " Mikhail Zabaluev
2002-03-07 13:36 ` Dmitry V. Levin
2002-03-07 14:23   ` [devel] " Mikhail Zabaluev
2002-03-07 14:38     ` Anton Farygin [this message]
2002-03-07 14:58     ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C877B69.2050100@altlinux.com \
    --to=rider@altlinux.com \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git