From a97e3ed5c46781234a72d86efb534baae67c765d Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 30 Oct 2019 20:17:31 +0530 Subject: Fix opening files from browser --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nnn.c b/src/nnn.c index 0a577ff..289dccb 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -5501,7 +5501,7 @@ int main(int argc, char *argv[]) } if (S_ISREG(sb.st_mode)) { - execlp(opener, opener, arg, NULL); + spawn(opener, arg, NULL, NULL, F_NOWAIT); return _SUCCESS; } } -- cgit v1.2.3-70-g09d2