ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Derjavin <dd@altlinux.org>
To: community@lists.altlinux.org
Subject: [Comm] FYI: reptyr -- reattach process to a pty
Date: Thu, 11 Jun 2015 17:58:26 +0300
Message-ID: <87zj462sx9.fsf@asia.home.dd> (raw)

Коллеги, добрый день!

Есть, оказывается, такая штука:
https://github.com/nelhage/reptyr

-------------------- Start of forwarded message --------------------
From: Иван Лох <loh@1917.com>
Newsgroups: gmane.linux.debian.user.russian
Subject: Re: Переключиться на фоновый процесс после возобновления сеанса.
Date: Thu, 11 Jun 2015 15:39:17 +0300

On Thu, Jun 11, 2015 at 03:01:32PM +0300, Victor Wagner wrote:
> 
> 2. Предпринятые юзером. Здесь у нас есть два варианта:
> 2.1 старая добрая утилита nohup. Если мы запускаем фоновый процесс 
>    nohup  команда параметры
>   то он опять же программа отцепится от терминала, выпишется из сессии и
>   весь ее ввод-вывод пойдет в nohup.out. Прицепить обратно уже никак.

reptyr -s PID

Прицепляет отсоединенный процесс к текущему терминалу. Штатно reptyr предназначен
для запихивания процессов в screen

-------------------- End of forwarded message --------------------

-- 
~dd


             reply	other threads:[~2015-06-11 14:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-11 14:58 Dmitry Derjavin [this message]
2015-06-12  6:45 ` Michael Shigorin

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=87zj462sx9.fsf@asia.home.dd \
    --to=dd@altlinux.org \
    --cc=community@lists.altlinux.org \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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