1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/utils/init.cpp
2011-09-08 11:10:41 +02:00

15 lines
301 B
C++

#include <stdio.h>
#include <libmaxsi/process.h>
int main(int argc, char* argv[])
{
// Reset the terminal's color and the rest of it.
printf("\r\e[m\e[J");
const char* programname = "sh";
const char* newargv[] = { programname };
Maxsi::Process::Execute(programname, 1, newargv);
return 1;
}