Skip to content
Snippets Groups Projects
Commit cc8cc366 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Add gepetto.corbaserver.start_server

parent ed078090
No related branches found
No related tags found
No related merge requests found
Pipeline #9750 failed
......@@ -4,6 +4,13 @@ from .gepetto import Error
from .client import Client, gui_client
def start_server(args=[]):
import os, time
if os.system("ps -C gepetto-gui > /dev/null") == 0:
return
os.system("gepetto-gui {} &".format(" ".join(args)))
time.sleep(0.5)
## Helper class
class Color(object):
# Define some RGBA-normalized color (osg convention)
......
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