October 21, 2013 ãµã©ãµã©ãã£ã¨èªãã§æ¾ç½®ãã¦ãã ããªãã»ã©Unixããã»ã¹ â Rubyã§å¦ã¶Unixã®åºç¤ããèªã¿ã¾ããã é±æ«æãåãããªããèªããã®ã§ããã£ãã fork(2)å¨ãã®æä½ã¨pipe(2)ãsocket(2)ãç°¡åã«è©¦ãã¦ããã£ãã daemonåããããã«å«ããã»ã¹ã§åããã¨ãå¤å ¸çãªæãã ã£ãã æ¬æ¸ã¯ç°¡åã«æ¸ããªãã試ãããã£ã¦ããã®ãæé«ã«æé«ã ã¨æãã¾ãã ä½ã§æ¾ç½®ãã¦ãããã®ãæã«åã£ãã㯠ãªãã»ã©Unixããã»ã¹èªãã - ãã¼ã¢ã³åã®ããã®double fork - ã¯ãã¹ãã㰠⨠ãã®ã¯ãã¹ããã®ã¨ã³ããªã¼èªãã ã®ããã£ããã§ããã 親ããã»ã¹ã¯2度æ»ã¬ - ãã¼ã¢ã³åã«ä½¿ãããã«forkã®è¬ - ç¡ç ä¸è¶³ï¼ï¼ ããã¦ãã¡ãã®ã¨ã³ããªã¼ã¸è¡ã£ã¦ã詳解UNIXããã°ã©ãã³ã°ã«è¡ãããã ããå æ¸èªãããã£ã¦æã£ã¦è²ã è¦ã¦ããã ã
{{#tags}}- {{label}}
{{/tags}}