relogin ã¨ããã³ãã³ãã§å®è¡ã§ãã¾ãã 以ä¸ï¼ã¨ãããã¨ã§çµããã§ãããã§ãããexec $SHELL -l ã®æå³ãããããããªãããã ã·ã§ã«ã®æ å¼±ãªåã¨ãã¦ã¯ã©ãããæå³ãªã®ãæ°ã«ãªã£ãã®ã§ã¡ãã£ã¨èª¿ã¹ã¦ã¿ã¾ããã execã³ãã³ãã«ã¤ã㦠UNIXã®é¨å± ã³ãã³ãæ¤ç´¢:exec (*BSD/Linux) ã«ãã説æãã¨ã¦ããããæãã£ãã®ã§å¼ç¨ãã¾ãã exec ã使ã£ãå ´åã¨ä½¿ããªãå ´åã®æå³ã以ä¸ã®ããã«æ¸ããã¦ãã¾ããã exec ls ã®ã³ãã³ãããµã³ãã«ã«è§£èª¬ããã¦ãã¾ãã exec ã使ããªãå ´åã«é¢ãã¦ã¯ä»¥ä¸ã®ã¨ããæ¸ããã¦ãã¾ãã ã·ã¹ãã ã³ã¼ã« fork(2) ãå¼ã³ãåããã»ã¹ãçæããã åããã»ã¹ã¯ ls ã exec(2) ããã 親ããã»ã¹ã§ããã·ã§ã«ã¯ãls ã®å®è¡ãå®äºããã®ãå¾ ã¤ (wait ãã)ã ãã㦠exec ã使ã£ãå ´å㯠ã·ã§
{{#tags}}- {{label}}
{{/tags}}