summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-07-17 10:28:46 -0400
committermidipix <writeonce@midipix.org>2016-07-21 03:47:30 -0400
commit9cd8e5d920e96d53971870e5e437a9c9c831d3e4 (patch)
tree66cfb24e1d701db8a673992918eadd25b28160ce /src/driver
parentd918bea72978afa375c83b167a70a814bcaf2a95 (diff)
downloadptycon-9cd8e5d920e96d53971870e5e437a9c9c831d3e4.tar.bz2
ptycon-9cd8e5d920e96d53971870e5e437a9c9c831d3e4.tar.xz
ptyc_spawn(): initial implementation and integration.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/ptyc_amain.c3
1 files changed, 3 insertions, 0 deletions
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);