forked from KolibriOS/kolibrios
4e23975970
git-svn-id: svn://kolibrios.org@6857 a494cfbc-eb01-0410-851d-a64ba20cac60
19 lines
266 B
C
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);
|
|
}
|
|
|