aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2007-09-19 22:25:46 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2007-09-19 22:25:46 -0400
commit7ddb0d79edf783b5cf45af8052195df198788b07 (patch)
tree684e0873f1f3a3091144cc4e4162f760fb962bb3 /src
parent51c55163401eb75dcd360ef671e329d7cf409356 (diff)
Make rt_launch honor the PATH environment variable.
Diffstat (limited to 'src')
-rw-r--r--src/rt_launch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt_launch.c b/src/rt_launch.c
index c82248b..a90bea8 100644
--- a/src/rt_launch.c
+++ b/src/rt_launch.c
@@ -13,7 +13,7 @@ typedef struct {
13int launch(void *task_info_p) { 13int launch(void *task_info_p) {
14 startup_info_t *info = (startup_info_t*) task_info_p; 14 startup_info_t *info = (startup_info_t*) task_info_p;
15 int ret; 15 int ret;
16 ret = execv(info->exec_path, info->argv); 16 ret = execvp(info->exec_path, info->argv);
17 perror("execv failed"); 17 perror("execv failed");
18 return ret; 18 return ret;
19} 19}