소스 검색

Remove blocking pipe open in child

master
Arun Prakash Jana 5 년 전
부모
커밋
609561494f
No known key found for this signature in database GPG 키 ID: A75979F35C080412
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c 파일 보기

@@ -4316,7 +4316,7 @@ static bool run_selected_plugin(char **path, const char *file, char *runfile, ch
exitcurses();

if (fork() == 0) { // In child
int wfd = open(g_pipepath, O_WRONLY | O_NONBLOCK);
int wfd = open(g_pipepath, O_WRONLY);

if (wfd == -1)
_exit(EXIT_FAILURE);


불러오는 중...
취소
저장