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:
parent
905ca66627
commit
2764e32087
|
@ -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__);
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user