summaryrefslogtreecommitdiff
path: root/windows/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'windows/draw.c')
-rw-r--r--windows/draw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/windows/draw.c b/windows/draw.c
index 9769208..28bef68 100644
--- a/windows/draw.c
+++ b/windows/draw.c
@@ -16,10 +16,11 @@ void launch(){
file[0] = '\0';
if(!(strcmp(program, "./"))){
+ strcat(file, "/C ");
strcat(file, "\"");
strcat(file, path);
strcat(file, "\"");
- ShellExecute(NULL, NULL, file, NULL, NULL, SW_SHOW);
+ ShellExecute(NULL, NULL, "cmd.exe", file, NULL, SW_HIDE);
}
else{