Skip to content
Snippets Groups Projects
Commit d31d6f81 authored by erwan's avatar erwan
Browse files

Chore

parent 4fd77fe0
No related branches found
No related tags found
No related merge requests found
Pipeline #35386 passed
...@@ -436,9 +436,11 @@ let pdf_viewer = ...@@ -436,9 +436,11 @@ let pdf_viewer =
if Sys.command "which zathura" = 0 then "zathura" else if Sys.command "which zathura" = 0 then "zathura" else
if Sys.command "which xpdf" = 0 then "xpdf" else if Sys.command "which xpdf" = 0 then "xpdf" else
if Sys.command "which acroread" = 0 then "acroread" else if Sys.command "which acroread" = 0 then "acroread" else
if Sys.command "which evince" = 0 then "evince" else if Sys.command "which evince" = 0 then "evince" else (
Printf.printf "Warning: no pdf viewer is found to visualize %s\n%!" dotfile Printf.printf "Warning: no pdf viewer is found to visualize %s\n%!" dotfile;
"ls"
)
let _ = let _ =
!dot_view (); !dot_view ();
let cmd = Printf.sprintf "%s sasa-%s.pdf&" pdf_viewer dotfile in let cmd = Printf.sprintf "%s sasa-%s.pdf&" pdf_viewer dotfile in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment