질문과 답변

Extra Form

가끔 스크립트 중에 일부에서 발견되곤하는데 뭐하는 건지를 알 수가 없네요.

Comment '2'
  • ?
    Alkaid 2010.10.08 16:45

    외부명령을 실행하는 것 같습니다.  일단 ruby-doc.org에 있는 설명을 보면:


    exec(command [, arg, ...])
    Replaces the current process by running the given external command. If exec is given a single argument, that argument is taken as a line that is subject to shell expansion before being executed. If multiple arguments are given, the second and subsequent arguments are passed as parameters to command with no shell expansion. If the first argument is a two-element array, the first element is the command to be executed, and the second argument is used as the argv[0] value, which may show up in process listings. In MSDOS environments, the command is executed in a subshell; otherwise, one of the exec(2) system calls is used, so the running command may inherit some of the environment of the original program (including open file descriptors).

    exec "echo *" # echoes list of files in current directory
    # never get here

    exec "echo", "*" # echoes an asterisk
    # never get here

  • ?
    녹색주머니 2010.10.08 19:23

    감사합니다...

     

    영어는 쥐약이므로 열심히 공부해야겠네요.


List of Articles
종류 분류 제목 글쓴이 날짜 조회 수
공지 묻고 답하기 가이드 습작 2014.06.14 12441
RMVXA 허걱 님이 올려주신 이름 + 마우스 질문 1 file tony 2012.12.27 966
기본툴 사용법 RMMV 행동 불가능한 스탯에 대해서 PPPL 2020.04.20 45
RMXP 햇빛 효과(?) 질문!!! 1 까멸 2011.12.23 2674
RMXP 햇빛 2 루이즈 2011.03.09 1263
RMXP 해석좀욧 2 Amaster 2011.12.15 2193
RMVXA 해상도를 바꾸면서 플레이 할 수는 없을까요? 1 2034 2014.09.16 565
RMMV 해상도 크기를 늘릴 때, 도트가 같이 늘어나보이게 하는 방법은 없을까요? 1 조하루 2016.07.27 246
기타 RMVXA 해상도 크기 조절 후 메뉴창이 어딘가 이상합니다... file 건소금 2020.11.06 264
RMVX 해상도 크기 변경하는법을 알고싶습니다 9 푸른사신 2014.02.24 1048
스크립트 작성 RMVXA 해상도 제한을 푸는 스크립트를 도저히 찾을 수가 없습니다. 1 zx히어로zx 2022.03.20 233
RMXP 해상도 스크립트 전체화면 모드 지원법은 없습니까? 2 석진이 2011.05.31 1904
RMVXA 해상도 변경후 픽쳐,그림을 모두 오른쪽으로 옮기는방법.. 6 file 펭블♡ 2013.02.03 883
턴제 전투 RMMV 해상도 변경후 배틀배경 늘리기 2 file 태하 2019.06.12 188
RMXP 해상도 변경후 문제점 뮤러 2015.10.22 144
RMVXA 해상도 변경시 전투 배경 미변경에 대해 질문드립니다. file spice 2015.08.22 263
RMVXA 해상도 변경시 이벤트가 안보이는 문제.. file NaNuyu 2016.05.08 108
기타 해상도 1 file 츠키코로 2013.11.23 1117
스크립트 작성 RMMV 해당 이벤트의 x, y 좌표를 변수 조작 없이 스크립트로 호출할 수 있나요? 3 file LV 2022.11.01 60
이벤트 작성 RMMV 해당 이벤트가 이동중일때 다른 이벤트에 접촉하면, 다른곳으로 순간이동 하는 방법이 있나요??? 4 file 호구랑 2019.08.25 72
기타 RMMV 해당 이미지처럼 어둡게 만드는 방법 있을까요? 4 file 설견 2019.12.17 667
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... 516 Next
/ 516