Skip to content
Snippets Groups Projects
Commit 18cb51c5 authored by Patrick Baudin's avatar Patrick Baudin
Browse files

Merge branch 'fix/andre/dev-null-windows' into 'master'

[dev] replace hard-coded usage of /dev/null in Sys.command call

Closes #1061

See merge request frama-c/frama-c!3287
parents 7a41b684 335cc59f
No related branches found
No related tags found
No related merge requests found
......@@ -538,7 +538,7 @@ and print_usage () =
let _ =
(* Test if headache is in the path *)
if Sys.command "headache -e >/dev/null 2>/dev/null" <> 0 then
if Sys.command "headache -e" <> 0 then
(Format.eprintf "error: 'headache' command not in PATH or incompatible \
version (option -e unsupported)@."; exit 6);
Arg.parse (Arg.align (sort argspec)) (fun s -> spec_files := s::!spec_files) umsg;
......
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