aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/xds.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-08-31 12:51:33 +0200
committerThomas White <taw@physics.org>2017-08-31 12:51:33 +0200
commite4a8cd53ca3534a90ef4e8c78aea852bae05d88d (patch)
tree3c8887c85a9ea62a48bb0dbb77f9c650fe2e8399 /libcrystfel/src/xds.c
parent62898319b6c59e251685438e3a0ea77eacc8114b (diff)
Set first argument when running external indexing programs
This makes sure they have names in process displays.
Diffstat (limited to 'libcrystfel/src/xds.c')
-rw-r--r--libcrystfel/src/xds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/xds.c b/libcrystfel/src/xds.c
index 8a7daab7..093b9160 100644
--- a/libcrystfel/src/xds.c
+++ b/libcrystfel/src/xds.c
@@ -549,7 +549,7 @@ int run_xds(struct image *image, void *priv)
t.c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL);
tcsetattr(STDIN_FILENO, TCSANOW, &t);
- execlp("xds", "", (char *)NULL);
+ execlp("xds", "xds", (char *)NULL);
ERROR("Failed to invoke XDS.\n");
_exit(0);