Re: 処理が終わらない
河野真治 @ 琉球大学情報工学です。
In article <ul87jkbx9j9.fsf@pine.yorie.netside.co.jp>, MOCHIDA Shuji <mochid@netside.co.jp> writes
> > これでも問題ないんじゃないかなぁ。nohup しなくても入出力しな
> > ければ落ちないはずです。
> シェルが bash や zsh なら disown が使えます。でも端末への出力は
> 消えちゃいますね。
(やっぱり zsh に乗り換えないと....)
Terminal を外すのは、redirect が簡単なので、nohup は使ったことない
です。
man termios すると、
Modem Disconnect
If a modem disconnect is detected by the terminal interface for a con-
trolling terminal, and if CLOCAL is not set in the c_cflag field for the
terminal, the SIGHUP signal is sent to the controlling process associated
with the terminal.
なわけで、SIGHUPを止めないと落ちちゃうはずなわけですが...
---
Shinji KONO @ Information Engineering, University of the Ryukyus
河野真治 @ 琉球大学工学部情報工学科
Fnews-brouse 1.9(20180406) -- by Mizuno, MWE <mwe@ccsf.jp>
GnuPG Key ID = ECC8A735
GnuPG Key fingerprint = 9BE6 B9E9 55A5 A499 CD51 946E 9BDC 7870 ECC8 A735