diff options
author | Thomas White <taw@physics.org> | 2017-08-31 12:51:33 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-08-31 12:51:33 +0200 |
commit | e4a8cd53ca3534a90ef4e8c78aea852bae05d88d (patch) | |
tree | 3c8887c85a9ea62a48bb0dbb77f9c650fe2e8399 /libcrystfel/src/dirax.c | |
parent | 62898319b6c59e251685438e3a0ea77eacc8114b (diff) |
Set first argument when running external indexing programs
This makes sure they have names in process displays.
Diffstat (limited to 'libcrystfel/src/dirax.c')
-rw-r--r-- | libcrystfel/src/dirax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/dirax.c b/libcrystfel/src/dirax.c index e9466a24..b263eea0 100644 --- a/libcrystfel/src/dirax.c +++ b/libcrystfel/src/dirax.c @@ -562,7 +562,7 @@ int run_dirax(struct image *image, void *ipriv) t.c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL); tcsetattr(STDIN_FILENO, TCSANOW, &t); - execlp("dirax", "", (char *)NULL); + execlp("dirax", "dirax", (char *)NULL); ERROR("Failed to invoke DirAx.\n"); _exit(0); |