From 9cd8e5d920e96d53971870e5e437a9c9c831d3e4 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 17 Jul 2016 10:28:46 -0400 Subject: ptyc_spawn(): initial implementation and integration. --- src/driver/ptyc_amain.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/driver') diff --git a/src/driver/ptyc_amain.c b/src/driver/ptyc_amain.c index f94b236..ecdc651 100644 --- a/src/driver/ptyc_amain.c +++ b/src/driver/ptyc_amain.c @@ -73,6 +73,9 @@ int ptyc_main(int argc, char ** argv, char ** envp) if (ptyc_alloc_pty(dctx)) return ptyc_exit(dctx,2); + if (ptyc_spawn(dctx)) + return ptyc_exit(dctx,2); + if (ptyc_alloc_console(dctx)) return ptyc_exit(dctx,2); -- cgit v1.2.3