From c344589fa092a49790f63ed2dbcd8f8c5bb628a8 Mon Sep 17 00:00:00 2001 From: turbocat Date: Thu, 23 Dec 2021 17:07:46 +0000 Subject: [PATCH] Fixed bug: https://board.kolibrios.org/viewtopic.php?f=24&p=77680#p77627 (thanks Coldy) git-svn-id: svn://kolibrios.org@9463 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/ktcc/trunk/libc.obj/include/sys/ksys.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/programs/develop/ktcc/trunk/libc.obj/include/sys/ksys.h b/programs/develop/ktcc/trunk/libc.obj/include/sys/ksys.h index 82bfb5dd77..a107ac94cf 100644 --- a/programs/develop/ktcc/trunk/libc.obj/include/sys/ksys.h +++ b/programs/develop/ktcc/trunk/libc.obj/include/sys/ksys.h @@ -1375,6 +1375,11 @@ int _ksys_exec(char *app_name, char *args) file_opt.p00 = 7; file_opt.p04dw = 0; file_opt.p08dw = (unsigned)args; + + file_opt.p12 = 0; + file_opt.p16 = 0; + file_opt.p20 = 0; + file_opt.p21 = app_name; return _ksys_work_files(&file_opt); }