Builder_web: visualization_cmd: Changed bin to be 'builder-viz' + let it be searched in PATH

This commit is contained in:
rand00 2022-01-28 10:49:26 +01:00 committed by Reynir Björnsson
parent 5a9c1237a1
commit 8897f525fe

View file

@ -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