trap ã³ãã³ãã¨ã¯ å®è¡ä¸ã®ããã»ã¹ã«å¯¾ããã·ã°ãã«ãæ¤ç¥ããæå®ãããå¦çãè¿ãã³ãã³ãã§ãã ã»ã»ã»ã¨ãè¨ã£ã¦ãããããããªãã¨æãã¾ãã ç¹ã«ãã·ã°ãã«ãã ã·ã°ãã« ã¨ã¯ å®è¡ä¸ã®ããã»ã¹ã«å¯¾ãã¦ãç¹å®ã®ã¤ãã³ããéç¥ããããã«éåºããããã®ã§ãã ãã使ç¨ãããã®ã¯ãããã»ã¹ãçµäºããããã®ã·ã°ãã«ã§ãã SIGINT ã SIGKILL ã§ãã ã·ã°ãã«éåºã«è¯ãå©ç¨ããã®ã¯ãkill ã³ãã³ãã¨ãã·ã§ã¼ãã«ããã§å©ç¨ãã Ctrl + C ã§ã¯ãªãã§ããããã ä¸è¨ã®ã³ãã³ãã¯ãããã»ã¹ã®å¼·å¶çµäºãªã©ã§å©ç¨ããäºãããã¨æãã¾ãã ä¸è¨ã®å¼·å¶çµäºã® kill ã³ãã³ãã¯ããªãã·ã§ã³ã§ -9 ãæå®ãã¦ãã¾ãã -9 㯠SIGKILL ãæå³ããæå®ããããã»ã¹ã«å¯¾ãå¼·å¶çµäºã®ã·ã°ãã«ãéåºãã¾ãã ããã»ã¹ããã®ã·ã°ãã«ãéãããã¨ãã©ããªç¶æ ã§ãããã¨å¼·å¶çµäºãããã
{{#tags}}- {{label}}
{{/tags}}