kolibrios/programs/system/shell/modules/module_program.c
siemargl 4e23975970 better cp, 64-bit fileops
git-svn-id: svn://kolibrios.org@6857 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-02-06 12:35:58 +00:00

19 lines
266 B
C

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