1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-06 22:10:53 +00:00

[exe] Try fork for exec_no_stdin. Refs #257

This commit is contained in:
Witold Filipczyk 2023-08-10 08:24:07 +02:00
parent 905ca66627
commit 2764e32087
2 changed files with 2 additions and 2 deletions

View File

@ -355,7 +355,7 @@ exe_no_stdin(char *path) {
int ret;
#ifndef WIN32
#if defined(F_GETFD) && defined(FD_CLOEXEC)
#if 0 && defined(F_GETFD) && defined(FD_CLOEXEC)
int flags;
fprintf(stderr, "%s: GETFD\n", __FUNCTION__);

View File

@ -271,7 +271,7 @@ fprintf(stderr, "%s: exe path+1=%s\n", __FUNCTION__, path+1);
}
if (path[plen]) {
fprintf(stderr, "%s: unlink %s\n", __FUNCTION__, path+plen);
//unlink(path + plen);
unlink(path + plen);
}
#endif
}