comparison sat_frontends/jp/cmd_shell.py @ 3481:7892585b7e17

core (setup), jp, primitivus: update console scripts + classifiers: - console scripts have been updated following the renaming with: - "libervia-cli" and "libervia-tui" for "jp" and "primitivus" - "li" alias as a shortcut for libervia-cli - "jp" and "primitivus" are kept as alias - updated classifiers to reflect Python 3.9 support
author Goffi <goffi@goffi.org>
date Sat, 20 Mar 2021 20:42:07 +0100
parents be6d91572633
children 524856bd7b19
comparison
equal deleted inserted replaced
3480:7550ae9cfbac 3481:7892585b7e17
110 args = sys.argv[0:1] + args 110 args = sys.argv[0:1] + args
111 ret_code = subprocess.call(args) 111 ret_code = subprocess.call(args)
112 # XXX: below is a way to launch the command without creating a new process 112 # XXX: below is a way to launch the command without creating a new process
113 # may be used when a solution to the aforementioned issue is there 113 # may be used when a solution to the aforementioned issue is there
114 # try: 114 # try:
115 # self.host.run(args) 115 # self.host._run(args)
116 # except SystemExit as e: 116 # except SystemExit as e:
117 # ret_code = e.code 117 # ret_code = e.code
118 # except Exception as e: 118 # except Exception as e:
119 # self.disp(A.color(C.A_FAILURE, u'command failed with an exception: {msg}'.format(msg=e)), error=True) 119 # self.disp(A.color(C.A_FAILURE, u'command failed with an exception: {msg}'.format(msg=e)), error=True)
120 # ret_code = 1 120 # ret_code = 1