slave: report exec() failure back to main process

This commit is contained in:
Daniel Eklöf 2019-07-17 09:39:12 +02:00
parent 519f721577
commit aa87be43ba
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 44 additions and 15 deletions

View file

@ -1,4 +1,4 @@
#pragma once
#include <stdbool.h>
void slave_spawn(int ptmx, char *cmd);
void slave_spawn(int ptmx, char *cmd, int err_fd);