diff options
author | louie <lshprung@yahoo.com> | 2020-12-28 12:47:47 -0800 |
---|---|---|
committer | louie <lshprung@yahoo.com> | 2020-12-28 12:47:47 -0800 |
commit | d7fa91b54c7dcce8dedbe32f37cf849f530f8864 (patch) | |
tree | c22df16697dc92aaed450412e11697eb13a62858 /unix/draw.c | |
parent | cf54938e343a9fced866fd2f2602eb807b7b8a93 (diff) |
Cleaned up ifdefs
Diffstat (limited to 'unix/draw.c')
-rw-r--r-- | unix/draw.c | 16 |
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; +} |