allow single tasks in jobs to stay resident and continue doing their thing while...
[enigma2.git] / main / enigma.cpp
index 36fcea4b6985bcbdd0b76bbd310ba18818b32429..307edd5a9fd35fb9f0fbe322b7574a1582e2c4ed 100644 (file)
@@ -239,8 +239,9 @@ int main(int argc, char **argv)
 
        setIoPrio(IOPRIO_CLASS_BE, 3);
 
-       python.execute("mytest", "__main__");
-       
+//     python.execute("mytest", "__main__");
+       python.execFile("/usr/lib/enigma2/python/mytest.py");
+
        if (exit_code == 5) /* python crash */
        {
                eDebug("(exit code 5)");
@@ -297,5 +298,5 @@ const char *getEnigmaVersionString()
 void dump_malloc_stats(void)
 {
        struct mallinfo mi = mallinfo();
-       printf("MALLOC: %d total\n", mi.uordblks);
+       eDebug("MALLOC: %d total", mi.uordblks);
 }