aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-30 20:17:31 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-30 20:17:31 +0530
commita97e3ed5c46781234a72d86efb534baae67c765d (patch)
tree92fb3e51a58145a7f007ce8e7c41b6a8e9e54496 /src
parentcf4ad22676700dcb750c0ef4bd7e73946f11ac6f (diff)
downloadnnn-a97e3ed5c46781234a72d86efb534baae67c765d.tar.gz
Fix opening files from browser
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}