From 8897f525fe80b36421a66b64a84a2365e7c9b8e9 Mon Sep 17 00:00:00 2001 From: rand00 Date: Fri, 28 Jan 2022 10:49:26 +0100 Subject: [PATCH] Builder_web: visualization_cmd: Changed bin to be 'builder-viz' + let it be searched in PATH --- lib/builder_web.ml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/builder_web.ml b/lib/builder_web.ml index 2b127be..43b309a 100644 --- a/lib/builder_web.ml +++ b/lib/builder_web.ml @@ -184,9 +184,7 @@ let add_routes datadir = in let visualization_cmd args = - (*> goto make work across different cwd's*) - let bin = "_build/default/bin/visualizations/builder_viz.exe" in - let cmd = bin, Array.of_list (bin :: args) + let cmd = "", Array.of_list ("builder-viz" :: args) in Lwt_process.pread cmd ~stderr:`Dev_null