Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-rbprm-corba
Commits
45768110
Commit
45768110
authored
Mar 20, 2020
by
Pierre Fernbach
Browse files
[Python] __main__: fix detection of --no-viewer argument
parent
c2aa8321
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hpp/corbaserver/rbprm/__main__.py
View file @
45768110
...
...
@@ -46,8 +46,7 @@ process_server = subprocess.Popen("hpp-rbprm-server",
atexit
.
register
(
process_server
.
kill
)
# do the same for the viewer, exept if --no-viewer flag is set
disable_viewer
=
args
.
no_viewer
if
disable_viewer
is
None
:
if
not
args
.
no_viewer
:
subprocess
.
run
([
"killall"
,
"gepetto-gui"
])
process_viewer
=
subprocess
.
Popen
(
"gepetto-gui"
,
stdout
=
subprocess
.
PIPE
,
...
...
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