Subversion Repositories HelenOS

Rev

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

Rev 3474 Rev 3535
Line 115... Line 115...
115
    char *tmp;
115
    char *tmp;
116
 
116
 
117
    tmp = cli_strdup(find_command(cmd));
117
    tmp = cli_strdup(find_command(cmd));
118
    free(found);
118
    free(found);
119
 
119
 
120
    tid = task_spawn((const char *)tmp, (const char **)argv);
120
    tid = task_spawn((const char *)tmp, argv);
121
    free(tmp);
121
    free(tmp);
122
 
122
 
123
    if (tid == 0) {
123
    if (tid == 0) {
124
        cli_error(CL_EEXEC, "Can not spawn %s", cmd);
124
        cli_error(CL_EEXEC, "Can not spawn %s", cmd);
125
        return 1;
125
        return 1;