ccan: update to get updated pipecmd.

Note that this changes the order of arguments to pipecmd to match the
documentation, so we fix all the callers!

Also make configure re-run when configurator changes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-12-08 11:01:56 +10:30
parent 6323cc1898
commit 6da213be31
13 changed files with 122 additions and 26 deletions

View File

@@ -785,7 +785,7 @@ void plugins_init(struct plugins *plugins, const char *dev_plugin_debug)
cmd[0] = p->cmd;
if (debug)
cmd[1] = "--debugger";
p->pid = pipecmdarr(&stdout, &stdin, NULL, cmd);
p->pid = pipecmdarr(&stdin, &stdout, NULL, cmd);
if (p->pid == -1)
fatal("error starting plugin '%s': %s", p->cmd,