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