summaryrefslogtreecommitdiff
path: root/src/unix/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/draw.c')
-rw-r--r--src/unix/draw.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/unix/draw.c b/src/unix/draw.c
new file mode 100644
index 0000000..ae7f758
--- /dev/null
+++ b/src/unix/draw.c
@@ -0,0 +1,14 @@
+#include <stdlib.h>
+#include <string.h>
+
+#include "../include/draw.h"
+
+void launch(){
+ char full_command[BUF_LEN];
+
+ strcpy(full_command, get_launch());
+ strcat(full_command, " > /dev/null 2>&1 &");
+ system(full_command);
+
+ return;
+}