Changeset 55fe220 in mainline for uspace/app/vlaunch/vlaunch.c
- Timestamp:
- 2019-08-07T04:56:41Z (6 years ago)
- Children:
- d4ec49e
- Parents:
- 5044114
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-10-12 22:21:42)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 04:56:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/vlaunch/vlaunch.c
r5044114 r55fe220 66 66 task_id_t id; 67 67 task_wait_t wait; 68 task_wait_set(&wait, TASK_WAIT_RETVAL); 68 69 errno_t rc = task_spawnl(&id, &wait, app, app, winreg, NULL); 69 70 if (rc != EOK) { … … 72 73 return -1; 73 74 } 74 75 task_exit_t texit; 75 76 76 int retval; 77 rc = task_wait(&wait, &texit, &retval);78 if ((rc != EOK) || (texit != TASK_EXIT_NORMAL)) {77 rc = task_wait(&wait, NULL, &retval); 78 if ((rc != EOK)) { 79 79 printf("%s: Error retrieving retval from %s (%s)\n", NAME, 80 80 app, str_error(rc));
Note:
See TracChangeset
for help on using the changeset viewer.