질문과 답변

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 12393
RMXP ABS5.5 에러 글록 2010.11.21 570
RMXP abs5.5 써보신분들 답변좀요 ㅠㅠ 1 file 이노헬 2011.04.26 1134
RMXP ABS5.5 공격모션 3 글록 2010.11.20 726
RMXP abs5.5 공격 모션... 게이머 2011.03.06 972
RMXP ABS 전리품 얻는것오류 질문ㅠㅠ 스샷잇음 ㅠㅠ 1 file 장미송이 2011.01.19 692
RMXP ABS 이벤트에아무것도 넣지않을경우 게임제작중 2011.04.15 1028
RMXP abs 5.5스크립트와 액알모션에대해;; 포미 2010.11.19 709
RMXP ABS 5.5 관련 질문 1 글록 2010.11.18 657
RMXP ABS 5.5 공격모션에대해서알려주세요 Outsider2 2010.12.14 652
RMXP ABS 5.5 hud 질문이여 프레 2011.07.17 1838
RMXP ABP 액알에서 스킬 문제 Hsik 2010.12.12 712
RMVX <특정상태에서 스킬 사용 금지방법> 질문입니다. 3 톰소여동생 2012.06.01 1531
RMVX <스크립트> 합성샵과 강화,카드 스크립트 충돌에 대한 오류 file 윌리스 2014.03.14 678
RMVX <뒤따라오는 이벤트가 특정이벤트와 접촉하면 이 이벤트실행>만드는것좀 도와줘요! 4 벚꽃과 늑대 2011.02.21 940
RM2k <강좌요청>이벤트로 데미지 표시 11 쉰라면블랙 2012.03.24 2358
스크립트 사용 RMXP 8방향, 픽셀이동 스크립트 관련 질문입니다. Sheriff 2020.02.26 88
RMXP 8방향 이동 스크립트 삭제 후 오류 11 file 블리츠 2013.07.19 858
RMXP 8방향 스크립트 관련 질문입니다. 1 모리야스와코 2010.10.17 989
RMVXA 8방향 모션 설정하고 싶습니다. 1 raco 2016.06.24 148
RMXP 8방향 대각선 모션 넣는방법이 궁금합니다. 2 file 스페이스덕 2014.01.18 1144
Board Pagination Prev 1 ... 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 Next
/ 516