summaryrefslogtreecommitdiff
path: root/retrace
diff options
context:
space:
mode:
authorMark Janes <mark.a.janes@intel.com>2017-03-22 12:01:37 -0700
committerMark Janes <mark.a.janes@intel.com>2017-06-19 14:04:51 -0700
commit2aa1f2d00486795c14744884606b918b6aac1767 (patch)
tree2bbadc4b3178e101cc0b7bfdb3e4085d11c10c29 /retrace
parent2c0d6902f29338c7afbeeee9310d018c0fe9ace3 (diff)
OS: support running frame_retrace from directory in PATH
The environment was not appropriately utilized in the exec call on Linux.
Diffstat (limited to 'retrace')
-rw-r--r--retrace/daemon/glframe_os_linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/retrace/daemon/glframe_os_linux.cpp b/retrace/daemon/glframe_os_linux.cpp
index dd7eaffd..300aaf07 100644
--- a/retrace/daemon/glframe_os_linux.cpp
+++ b/retrace/daemon/glframe_os_linux.cpp
@@ -48,7 +48,7 @@ int fork_execv(const char *path, const char *const argv[]) {
exit(-1);
}
if (pid == 0) {
- return ::execv(path, (char *const*) argv);
+ return ::execvp(path, (char *const*) argv);
}
return 0;
}