Subversion Repositories HelenOS

Rev

Rev 4345 | Rev 4347 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4345 Rev 4346
Line 80... Line 80...
80
    printf(NAME ": Spawning %s\n", fname);
80
    printf(NAME ": Spawning %s\n", fname);
81
   
81
   
82
    argv[0] = fname;
82
    argv[0] = fname;
83
    argv[1] = NULL;
83
    argv[1] = NULL;
84
   
84
   
85
    if (task_spawn(fname, argv))
85
    if (task_spawn(fname, argv)) {
86
        /* Add reasonable delay to avoid
86
        /* Add reasonable delay to avoid intermixed klog output. */
87
           intermixed klog output */
-
 
88
        usleep(10000);
87
        usleep(10000);
89
    else
88
    } else {
90
        printf(NAME ": Error spawning %s\n", fname);
89
        printf(NAME ": Error spawning %s\n", fname);
-
 
90
    }
91
}
91
}
92
 
92
 
93
int main(int argc, char *argv[])
93
int main(int argc, char *argv[])
94
{
94
{
95
    info_print();
95
    info_print();