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/mosflm.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/mosflm.c')
-rw-r--r-- | libcrystfel/src/mosflm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c index a8e6e119..edf8524e 100644 --- a/libcrystfel/src/mosflm.c +++ b/libcrystfel/src/mosflm.c @@ -764,8 +764,8 @@ int run_mosflm(struct image *image, void *ipriv) t.c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL); tcsetattr(STDIN_FILENO, TCSANOW, &t); - execlp("mosflm", "", (char *)NULL); - execlp("ipmosflm", "", (char *)NULL); + execlp("mosflm", "mosflm", (char *)NULL); + execlp("ipmosflm", "ipmosflm", (char *)NULL); ERROR("Invocation: Failed to invoke MOSFLM: %s\n", strerror(errno)); _exit(0); |