From: Michael D. Lowis Date: Wed, 30 Nov 2016 16:55:50 +0000 (-0500) Subject: fixed a bug where opening a new file caused the original process to hang X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=24dd2e5c04e84372802e7146bf9ebc12e48dae06;p=projs%2Ftide.git fixed a bug where opening a new file caused the original process to hang --- diff --git a/xedit.c b/xedit.c index 3db2bdf..357f249 100644 --- a/xedit.c +++ b/xedit.c @@ -486,7 +486,7 @@ static void open_file(void) { buf_load(getbuf(EDIT), file); } else { OpenCmd[1] = file; - free(cmdread(OpenCmd, NULL)); + cmdrun(OpenCmd, NULL); } } free(file);