17 import sys,os,platform
22 sysinfo = platform.uname()
28 os.system(
"start python ..\\..\\..\\bin\\rtm-naming.py")
29 os.system(
"start python ConsoleIn.py")
30 os.system(
"start python Consoleout.py")
32 os.system(
"python Connector.py")
35 status,term=commands.getstatusoutput(
"which xterm")
38 status,term=commands.getstatusoutput(
"which kterm")
42 status,term=commands.getstatusoutput(
"which uxterm")
46 status,term=commands.getstatusoutput(
"which gnome-terminal")
50 print "No terminal program (kterm/xterm/gnome-terminal) exists." 55 if os.path.exists(os.path.join(p,
"OpenRTM_aist")):
56 path = os.path.join(p,
"OpenRTM_aist",
"utils",
"rtm-naming")
59 print "rtm-naming directory not exist." 62 os.system(
'python %s/rtm-naming.py &'%path)
63 os.system(
'%s python ConsoleIn.py &'%term)
64 os.system(
'%s python ConsoleOut.py &'%term)
66 os.system(
"python Connector.py")
70 if __name__ ==
"__main__":