summaryrefslogtreecommitdiff
path: root/unix/draw.c
diff options
context:
space:
mode:
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;
+}