diff options
author | Thomas White <taw@physics.org> | 2020-03-31 15:45:06 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:57 +0200 |
commit | f1bf40379d54dde0ac8f1a1add948cb714cdf5e8 (patch) | |
tree | 027d4d3ae687bf0ae5d2692c3724365451f1f3ea | |
parent | 5d5e6434d7e2d1f1bced3ae8eb55cf951ff21937 (diff) |
Actually start cell_explorer
-rw-r--r-- | src/gui_index.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/gui_index.c b/src/gui_index.c index 29ad829d..e42a9aae 100644 --- a/src/gui_index.c +++ b/src/gui_index.c @@ -47,7 +47,19 @@ static void cell_explorer_sig(struct crystfelproject *proj) { - STATUS("Run cell_explorer\n"); + GSubprocess *sp; + GError *error = NULL; + + sp = g_subprocess_new(G_SUBPROCESS_FLAGS_NONE, &error, + "cell_explorer", "test.stream", NULL); + if ( sp == NULL ) { + ERROR("Failed to start cell_explorer: %s\n", + error->message); + g_error_free(error); + return; + } + + STATUS("Starting cell_explorer...\n"); } |