ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] FYI: reptyr -- reattach process to a pty
@ 2015-06-11 14:58 Dmitry Derjavin
  2015-06-12  6:45 ` Michael Shigorin
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Derjavin @ 2015-06-11 14:58 UTC (permalink / raw)
  To: community

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

Есть, оказывается, такая штука:
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] FYI: reptyr -- reattach process to a pty
  2015-06-11 14:58 [Comm] FYI: reptyr -- reattach process to a pty Dmitry Derjavin
@ 2015-06-12  6:45 ` Michael Shigorin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2015-06-12  6:45 UTC (permalink / raw)
  To: community

On Thu, Jun 11, 2015 at 05:58:26PM +0300, Dmitry Derjavin wrote:
> Есть, оказывается, такая штука:
> https://github.com/nelhage/reptyr

Проверь из autoimports и если работает -- запроси перенос.

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-12  6:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-11 14:58 [Comm] FYI: reptyr -- reattach process to a pty Dmitry Derjavin
2015-06-12  6:45 ` Michael Shigorin

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