Subversion Repositories HelenOS

Rev

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

Rev 3153 Rev 3155
Line 81... Line 81...
81
}
81
}
82
 
82
 
83
static void spawn(char *fname)
83
static void spawn(char *fname)
84
{
84
{
85
    printf(NAME ": Spawning %s\n", fname);
85
    printf(NAME ": Spawning %s\n", fname);
-
 
86
 
-
 
87
    if (task_spawn_ex(fname, NULL) != 0) {
-
 
88
        /* Success */
-
 
89
        sleep(1);
-
 
90
    }
-
 
91
    return;
86
   
92
   
87
    int fd = open(fname, O_RDONLY);
93
    int fd = open(fname, O_RDONLY);
88
    if (fd >= 0) {
94
    if (fd >= 0) {
89
   
95
   
90
        ssize_t rd;
96
        ssize_t rd;