Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grew
grew
Commits
85fc96a3
Commit
85fc96a3
authored
Dec 15, 2017
by
Bruno Guillaume
Browse files
add call to grew_gui_dev when needed
parent
92950ea3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grew_main.ml
View file @
85fc96a3
...
...
@@ -29,7 +29,8 @@ let _ =
|
Grew_args
.
Test
->
failwith
"No test available"
|
Grew_args
.
Gui
args
->
match
Unix
.
system
(
"grew_gui "
^
args
)
with
let
gui_exec
=
if
Sys
.
argv
.
(
0
)
=
"grew_dev"
then
"grew_gui_dev"
else
"grew_gui"
in
match
Unix
.
system
(
gui_exec
^
" "
^
args
)
with
|
Unix
.
WEXITED
i
when
i
<>
0
->
Log
.
warning
"It seems that grew_gui is not installed on your system. Try to run
\"
opam install grew_gui
\"
"
|
_
->
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment