From d6acfe6e20163657fcfa72ea9426c0b9199526fe Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 24 Mar 2020 18:02:26 -0700 Subject: open-process: fix regression. TXR 228, which introduced open-subprocess, broke open-process. * stream.c (open_process): Pass args correctly as the fourth argument of open_subprocess, rather than the third. --- stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream.c') diff --git a/stream.c b/stream.c index 0e19ab73..915ed7e5 100644 --- a/stream.c +++ b/stream.c @@ -4285,7 +4285,7 @@ static val open_subprocess(val name, val mode_str, val args, val fun) val open_process(val name, val mode_str, val args) { - return open_subprocess(name, mode_str, nil, args); + return open_subprocess(name, mode_str, args, nil); } #else -- cgit v1.2.3