Skip to content

[DEV] 실행부 구현 #14

@sehwanii

Description

@sehwanii

Summary

syntax tree 를 순회하며 명령어를 실행하는 기능을 구현합니다.

Description

  • 트리를 전위순회하며 연산자에 따라 실행시킵니다.
  • 논리연산자(&&,||) -> 파이프(|) -> t_cmd 순서로 판단합니다.
    • 논리연산자 좌우 성공실패를 받는다
    • 파이프는 pipe(2) 수행한다
    • t_cmd 는 redirection_list -> command 순서로 실행합니다.

Metadata

Metadata

Assignees

Labels

FeatNew feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions