å
æ¥ãdotjsé¢ç½ãã¨ãã - ã½ãã´ããããã¨ããªãã¦ã®ãæ¸ãã¦pullãããã§ãã rubyãWEBrickãOS Xã«ã¯ããã©ãªãã ãããã£ã¡ã§ thx ã¿ãããªè¿äºãè¿ã£ã¦ãã¦èããªåã§ãã dotjsãªãã ããserverãinstallerãjsã§ãããï¼ã£ã¦ã®ã¯å®æçãªåé¡ã§ããã ãã¦ãã ã¾ããinstallerãæ¸ãããããã§shellã³ãã³ããå©ããããã¦ã¿ãã®ã§ã¡ãã£ã¨ã¾ã¨ãã¾ã shellã³ãã³ããå©ãã«ã¯2種é¡ã®APIãç¨æããã¦ãã¾ãã1ã¤ã¯execãããä¸ã¤ãspawnã§ãã exec 1åãã£ããã®ã³ãã³ããå©ãå ´åã¯ãã¡ããããã§ããããã³ãã³ããæååã§æ¸¡ãã¦callbackã§åãåãã ãã§ãã $ sh -c 'æåå'ã¿ãããªæ°åã§å®è¡ã§ãã¾ãã 1. ã¾ããshellã³ãã³ããå®è¡ããããã«ã¯child_processã¢ã¸ã¥ã¼ã«ãrequire
{{#tags}}- {{label}}
{{/tags}}