Changes in uspace/app/sbi/src/os/helenos.c [0485135:c5cb943d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/os/helenos.c
r0485135 rc5cb943d 249 249 task_id_t tid; 250 250 task_exit_t texit; 251 int r c, retval;252 253 rc = task_spawnv(&tid, cmd[0], (char const * const *) cmd);254 if ( rc != EOK) {251 int retval; 252 253 tid = task_spawn(cmd[0], (char const * const *) cmd, &retval); 254 if (tid == 0) { 255 255 printf("Error: Failed spawning '%s' (%s).\n", cmd[0], 256 str_error(r c));256 str_error(retval)); 257 257 exit(1); 258 258 } 259 259 260 260 /* XXX Handle exit status and return value. */ 261 rc = task_wait(tid, &texit, &retval); 262 (void) rc; 261 task_wait(tid, &texit, &retval); 263 262 264 263 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.