kolibrios-gitea/programs/system/shell/modules/module_program.c
Albom deca8b884f Shell v0.6.1. Some minor improvements.
git-svn-id: svn://kolibrios.org@3247 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 15:22:51 +00:00

18 lines
220 B
C

int program_run(char cmd[], char param[])
{
kol_struct70 k70;
k70.p00 = 7;
k70.p04 = 0;
k70.p08 = (unsigned) param;
k70.p12 = 0;
k70.p16 = 0;
k70.p20 = 0;
k70.p21 = cmd;
return kol_file_70(&k70);
}