Skip to content

Conversation

@Pilse
Copy link
Contributor

@Pilse Pilse commented Feb 9, 2021

  • 기존 리눅스 쉘과 다른점: 백그라운드 실행이 완료되면 실제 쉘은 Enter키 등으로 출력버퍼를 비울 때 Done 메세지가 나오지만 이번 구현에서는 실행이 완료되면 바로 터미널에 출력이 됩니다.
  • 궁금하신 것이나 잘못된 것 있으면 댓글 달아주시면 감사하겠습니다.

if (flag_redirection)
;
else if (flag_pipe)
process_pipe(arg, index, how);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minishell프로그램이 process_pipe함수 내에서 background함수를 호출하면 어떻게 되나요?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pipe나 redirection이 있는 명령어가 들어온다면 작동하지 않습니다. 그부분에 대해서는 나중에 얘기를 한번 해봐야 될 것 같습니다.

Copy link
Member

@Dongdong351 Dongdong351 Feb 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다 OK
process_redir 관련한 수정사항은 브랜치로 merge하겠습니다

@Dongdong351 Dongdong351 merged commit 462cf5d into develop Feb 17, 2021
Dongdong351 added a commit to Dongdong351/Linux-Shell-Project that referenced this pull request Feb 17, 2021
Merge pull request Master-C-Programming#29 from Master-C-Programming/feature/background
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants