From: Arun Prakash Jana Date: Wed, 30 Oct 2019 14:47:31 +0000 (+0530) Subject: Fix opening files from browser X-Git-Tag: v2.8~120 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=a97e3ed5c46781234a72d86efb534baae67c765d;p=nnn.git Fix opening files from browser --- diff --git a/src/nnn.c b/src/nnn.c index 0a577ff3..289dccb1 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; } }