commit | 368bff40cea6cee1fef46d3201ef07cd007dbc25 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 06 17:18:28 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 06 17:20:26 2019 +0100 |
tree | 4e06eb8149cab6cc2717334198ef589b11ec2efc | |
parent | aebeff74fc7eaef12728b1fc15b2d42d93a7767a [diff] |
MINOR: debug: replace popen() with pipe+fork() in "debug dev exec" popen() is annoying because it doesn't catch stderr. The command was implemented using it just by pure laziness, let's just redo it a bit cleaner using normal syscalls. Note that this command is only enabled when built with -DDEBUG_DEV.