17 import sys,os,platform
22 sysinfo = platform.uname()
27 os.system(
"start python ..\\..\\..\\bin\\rtm-naming.py")
28 os.system(
"start python ConsoleIn.py")
29 os.system(
"start python Consoleout.py")
31 os.system(
"python Connector.py")
34 status,term=commands.getstatusoutput(
"which xterm")
37 status,term=commands.getstatusoutput(
"which kterm")
41 status,term=commands.getstatusoutput(
"which uxterm")
45 status,term=commands.getstatusoutput(
"which gnome-terminal")
49 print "No terminal program (kterm/xterm/gnome-terminal) exists." 54 if os.path.exists(os.path.join(p,
"OpenRTM_aist")):
55 path = os.path.join(p,
"OpenRTM_aist",
"utils",
"rtm-naming")
58 print "rtm-naming directory not exist." 61 os.system(
'python %s/rtm-naming.py &'%path)
62 os.system(
'%s python ConsoleIn.py &'%term)
63 os.system(
'%s python ConsoleOut.py &'%term)
65 os.system(
"python Connector.py")