aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-28 20:48:14 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-22 08:44:19 +0530
commitee11e78f14a5375994d53e2420dacfdcde2d4122 (patch)
tree6e9658f39388767365dcce4285d8229a5de9f14b /src
parenta5c5fc97e27665d9bda36709fb0e2c19a76af332 (diff)
downloadnnn-ee11e78f14a5375994d53e2420dacfdcde2d4122.tar.gz
nlaunch: add sleep to wait for child
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 7b4c7e4..1042b76 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3985,7 +3985,7 @@ nochange:
goto begin;
case SEL_LAUNCH:
if (getutil(utils[NLAUNCH])) {
- spawn(utils[NLAUNCH], NULL, NULL, path, F_NORMAL);
+ spawn(utils[NLAUNCH], "0", NULL, path, F_NORMAL);
break;
} // fallthrough
default: /* SEL_RUNCMD */