slave: exec shell from conf

This commit is contained in:
Daniel Eklöf 2019-07-17 09:30:39 +02:00
parent 19aaa7b774
commit 153894eb73
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 89 additions and 4 deletions

View file

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