summaryrefslogtreecommitdiff
path: root/unix/draw.c
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2020-12-28 12:47:47 -0800
committerlouie <lshprung@yahoo.com>2020-12-28 12:47:47 -0800
commitd7fa91b54c7dcce8dedbe32f37cf849f530f8864 (patch)
treec22df16697dc92aaed450412e11697eb13a62858 /unix/draw.c
parentcf54938e343a9fced866fd2f2602eb807b7b8a93 (diff)
Cleaned up ifdefs
Diffstat (limited to 'unix/draw.c')
-rw-r--r--unix/draw.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/unix/draw.c b/unix/draw.c
new file mode 100644
index 0000000..f6424d0
--- /dev/null
+++ b/unix/draw.c
@@ -0,0 +1,16 @@
+#include <stdlib.h>
+#include <string.h>
+
+#include "../draw.h"
+
+void launch();
+
+void launch(){
+ char full_command[BUF_LEN];
+
+ strcpy(full_command, get_launch());
+ strcat(full_command, " > /dev/null 2>&1 &");
+ system(full_command);
+
+ return;
+}