
다음을 고려하세요 Makefile
.
all:
yes
make
run 및 Pause를 사용한 Ctrl-Z
다음 start screen
또는를 사용 tmux
하고 try를 사용 하면 reptyr
다음 오류가 발생합니다.
$ reptyr 5328
[-] Process 5329 (yes) shares 5328's process group. Unable to attach.
(This most commonly means that 5328 has suprocesses).
Unable to attach to pid 5328: Invalid argument
하위 프로세스가 있다는 것은 사실입니다 . 하지만 이 도구나 다른 도구를 사용할 수 있는 방법이 make
있습니까 ?reptyr
답변1
reptyr
버전 0.6에는 -T
하위 프로세스가 있는 프로세스에 적합한 "tty-stealing" 모드 옵션이 도입되었습니다.
바라보다https://blog.nelhage.com/2014/08/new-reptyr-feature-tty-stealing/자세한 내용은.