From 7ddb0d79edf783b5cf45af8052195df198788b07 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Wed, 19 Sep 2007 22:25:46 -0400 Subject: Make rt_launch honor the PATH environment variable. --- src/rt_launch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { int launch(void *task_info_p) { startup_info_t *info = (startup_info_t*) task_info_p; int ret; - ret = execv(info->exec_path, info->argv); + ret = execvp(info->exec_path, info->argv); perror("execv failed"); return ret; } -- cgit v1.2.2