main: allow user to override shell on the command line

This commit is contained in:
Daniel Eklöf 2019-07-17 09:55:36 +02:00
parent 2046dc0fbd
commit c11cc2be57
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 21 additions and 11 deletions

View file

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