diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 579cca9..9a81146 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -101,6 +101,10 @@ jobs: run: which gnuplot - name: gnuplot Version run: gnuplot --version + - name: Whoami + run: whoami + - name: Set Perms + run: _build/examples/lib/erlexec/priv/*/exec-port --whoami - name: Run One run: rebar3 as examples lfe run -- 3d-heatmap true - name: Run All diff --git a/src/plottah-svr.lfe b/src/plottah-svr.lfe index 28d3804..f06aeea 100644 --- a/src/plottah-svr.lfe +++ b/src/plottah-svr.lfe @@ -74,6 +74,10 @@ (defun handle_info ;; Output from gnuplot + ((`#(stdout ,_pid ,msg) state) + (io:format "~s~n" (list (string:substr (binary_to_list msg) 1 1000))) + `#(noreply ,state)) + ;; Output from gnuplot ((`#(stderr ,_pid ,msg) state) (io:format "~s~n" (list (string:substr (binary_to_list msg) 1 1000))) `#(noreply ,state))