Rubyã§éãã æ¥ã ã®è¨é²ãããã¾ã§èè è¦ç¹ã®ç§çãªè¨é²ãªã®ã§ãæ£ç¢ºããæ±ããªãããã«ã Rubyã¨é¢ä¿ãªã話é¡ã«ã¯ãã®æ¨æ³¨è¨ãã¦ããã¯ãããªã®ã§ãä¸è¦é¢ä¿ç¡ãããã«è¦ãã話é¡ãã©ããã§é¢ä¿ããã®ããããã¾ãããã¾ãã¯ã注è¨ã®æ¸ãå¿ãããããã¾ãã... å¹´ æ âä¸å®æé£è¼ãããªãã»ã©Unixããã»ã¹ãã§å¦ã¶WindowsçRubyã®åºç¤ãã第5ç« ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿? ãã®ãµãããå¹»æ³ãã¶ã£å£ã! _ ä¸ã®ä¸ã«ã¯è¦æ ¼Cã¨ãããã®ããã£ã¦ãANSI C(C89)ã¨ãISO C90ã¨ãISO C99ã¨ããããã®ããããªã®ã ãã©ãããã«ã¯ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ãªãã¦ãã®ã¯åå¨ããªãã ã ãããã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ãªãã¦ãã®ã®ãã¨ã¯å¿ãã¦ãã¾ã! _ ...ãªãã¦è¨ã£ã¦æ¸ãã°ããã®ã ããUnixããã¯ãã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ããã«ã¹ã£ããä¾åããä»çµã¿ã§åºæ¥ä¸ãã£ã¦ããã ããã¦Ruby
âä¸å®æé£è¼ãããªãã»ã©Unixããã»ã¹ãã§å¦ã¶WindowsçRubyã®åºç¤ããã¯ããã« _ é人åºçä¼ããããåè¡ããã¦ãã話é¡ã®æ¸ããªãã»ã©Unixããã»ã¹ â Rubyã§å¦ã¶Unixã®åºç¤ããç´è§£ããªãããWindowsçRubyãã©ã¼ãã£ã¦UnixçRubyã¨ã¹ã¯ãªããã¬ãã«ã®äºææ§ãç¶æãã¦ãããããªãã£ããããã®ããã¨ãããã¨ã解説ãã¦ã¿ããã¨æãç«ã£ã¦ãã¾ã£ãã®ã§ããã¾ããã âä¸å®æé£è¼ãããªãã»ã©Unixããã»ã¹ãã§å¦ã¶WindowsçRubyã®åºç¤ãã第3ç« ããã»ã¹ã«ã¯IDããããWindowsã§ãããã¨ã _ å½ããåã ããWindowsä¸ã§ã puts Process.pid ã¨ããã°pidã確èªã§ãã(ã¨ããã§ãªãã§putsãªã®?)ã Windowsã«ã¯psã³ãã³ãã¯ãªããtasklistã³ãã³ãããã£ã¦ãããã§ç¾å¨å®è¡ä¸ã®ããã»ã¹ã®pidã確èªã§ããã®ã§ãæ¯
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}