aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui_index.c14
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");
}